More CMake bullshit

This commit is contained in:
sippeangelo
2015-11-30 11:16:43 +01:00
parent 8419d2e7b9
commit 52278d7bc2
20 changed files with 264 additions and 85 deletions
+36
View File
@@ -0,0 +1,36 @@
project(TacticalZ-Game)
set(INCLUDE_PATH ${CMAKE_SOURCE_DIR}/include)
include_directories(
${INCLUDE_PATH}/Engine
${INCLUDE_PATH}/Game
)
file(GLOB SOURCE_FILES
"${INCLUDE_PATH}*.h"
"*.cpp"
)
#source_group(Core FILES ${SOURCE_FILES})
set(SOURCE_FILES
${SOURCE_FILES}
)
set(LIBRARIES
)
add_library(Game ${SOURCE_FILES})
target_link_libraries(Game
Engine
${LIBRARIES}
)
add_executable(TacticalZ
main.cpp
)
target_link_libraries(TacticalZ
Game
${LIBRARIES}
)
View File