Lightweight OpenGL 3D Renderer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Euclid/CMakeLists.txt

24 lines
528 B

cmake_minimum_required(VERSION 3.24.2)
project(Hohmann VERSION 1.0)
set(SOURCES src/main.cpp)
add_executable(Hohmann ${SOURCES})
# Includes
set(LIB_INCLUDE_DIRS include/glad/ include/GLFW/ include/KHR/)
include_directories(${LIB_INCLUDE_DIRS})
2 years ago
# GLFW submodule
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
2 years ago
2 years ago
add_subdirectory(lib/glfw)
# GLAD
add_subdirectory(lib/glad)
# Linking
target_link_libraries(Hohmann PRIVATE glfw glad)