working on resources
This commit is contained in:
parent
9bea2c1142
commit
259048a195
@ -3,8 +3,11 @@ add_subdirectory("deps/glfw")
|
|||||||
project(Raycaster VERSION 0.1)
|
project(Raycaster VERSION 0.1)
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
add_executable(raycaster src/main.cpp deps/glad/src/glad.c)
|
FILE(GLOB Sources src/*.cpp)
|
||||||
|
FILE(GLOB Resources res/*)
|
||||||
|
add_executable(raycaster ${Sources} deps/glad/src/glad.c)
|
||||||
configure_file(src/RaycasterConfig.h.in RaycasterConfig.h)
|
configure_file(src/RaycasterConfig.h.in RaycasterConfig.h)
|
||||||
|
FILE(COPY ${Resources} DESTINATION ${CMAKE_BINARY_DIR}/res)
|
||||||
target_include_directories(raycaster PUBLIC
|
target_include_directories(raycaster PUBLIC
|
||||||
"${PROJECT_BINARY_DIR}"
|
"${PROJECT_BINARY_DIR}"
|
||||||
"deps/glfw/include"
|
"deps/glfw/include"
|
||||||
|
0
buildres/test
Normal file
0
buildres/test
Normal file
Loading…
Reference in New Issue
Block a user