CMake: Move source directory to project root

This commit is contained in:
Riyyi
2022-09-16 20:15:49 +02:00
parent 4468b1ffb9
commit 6b0095dadf
79 changed files with 270 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ file(GLOB_RECURSE GAME_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
add_executable(${GAME} ${GAME_SOURCES})
target_include_directories(${GAME} PRIVATE
"src"
"${CMAKE_SOURCE_DIR}/${ENGINE}/src")
"${CMAKE_SOURCE_DIR}/src")
target_link_libraries(${GAME} ${ENGINE})
target_precompile_headers(${GAME} REUSE_FROM ${ENGINE})