Raycaster/CMakeLists.txt

12 lines
473 B
CMake
Raw Normal View History

2024-09-01 17:09:23 -06:00
cmake_minimum_required(VERSION 3.10)
2024-09-01 18:53:07 -06:00
add_subdirectory("deps/glfw")
2024-09-01 17:57:51 -06:00
project(Raycaster VERSION 0.1)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
add_executable(raycaster src/main.cpp)
configure_file(src/RaycasterConfig.h.in RaycasterConfig.h)
2024-09-01 18:53:07 -06:00
target_include_directories(raycaster PUBLIC
"${PROJECT_BINARY_DIR}"
"deps/glfw/include"
)
target_link_libraries(raycaster glfw)