Raycaster/CMakeLists.txt
2024-09-01 19:42:42 -06:00

13 lines
542 B
CMake

cmake_minimum_required(VERSION 3.10)
add_subdirectory("deps/glfw")
project(Raycaster VERSION 0.1)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
add_executable(raycaster src/main.cpp deps/glad/src/glad.c)
configure_file(src/RaycasterConfig.h.in RaycasterConfig.h)
target_include_directories(raycaster PUBLIC
"${PROJECT_BINARY_DIR}"
"deps/glfw/include"
"deps/glad/include"
)
target_link_libraries(raycaster glfw)