Raycaster/CMakeLists.txt
2024-09-01 18:53:07 -06:00

12 lines
473 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)
configure_file(src/RaycasterConfig.h.in RaycasterConfig.h)
target_include_directories(raycaster PUBLIC
"${PROJECT_BINARY_DIR}"
"deps/glfw/include"
)
target_link_libraries(raycaster glfw)