CMake: Move engine source compilation to separate file
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user