CMake: Move engine source compilation to separate file

This commit is contained in:
Riyyi
2022-09-16 17:12:57 +02:00
parent ed935e50cd
commit 90bfd30f7f
3 changed files with 52 additions and 49 deletions
+1
View File
@@ -13,6 +13,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")
target_link_libraries(${GAME} ${ENGINE})