mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Cmake: Rewrite build and use inherited dependencies (#12)
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user