Cmake: Rewrite build and use inherited dependencies (#12)

This commit is contained in:
Kargatum
2019-04-03 12:32:07 +07:00
committed by GitHub
parent 23c29f010c
commit e27b9e0d89
7 changed files with 50 additions and 56 deletions

View File

@@ -2,15 +2,12 @@ file(GLOB_RECURSE method_headers ${CMAKE_MOD_ELUNA_ENGINE_DIR}/LuaEngine/*Method
file(GLOB_RECURSE sources_ElunaFile_CPP ${CMAKE_MOD_ELUNA_ENGINE_DIR}/LuaEngine/*.cpp )
file(GLOB_RECURSE sources_ElunaFile_H ${CMAKE_MOD_ELUNA_ENGINE_DIR}/LuaEngine/*.h)
set(game_STAT_SRCS
${game_STAT_SRCS}
${sources_ElunaFile_H}
${sources_ElunaFile_CPP}
set(ElunaLuaEngineFiles
${ElunaLuaEngineFiles}
${sources_ElunaFile_H}
${sources_ElunaFile_CPP}
)
source_group("LuaEngine\\Methods" FILES ${method_headers})
source_group("LuaEngine\\Header Files" FILES ${sources_ElunaFile_H})
source_group("LuaEngine\\Source Files" FILES ${sources_ElunaFile_CPP})