mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-24 22:47:25 +00:00
d283bbd1c4
* fix: split apart big Cmake libraries * fix: formatting * fix: newline * fix: add quotes
18 lines
621 B
CMake
18 lines
621 B
CMake
set(DSCRIPTS_SOURCES_AI_MINIGAME)
|
|
|
|
add_subdirectory(SG_GF)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_AI_MINIGAME_SG_GF})
|
|
set(DSCRIPTS_SOURCES_AI_MINIGAME ${DSCRIPTS_SOURCES_AI_MINIGAME} "SG_GF/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(Objects)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_AI_MINIGAME_OBJECTS})
|
|
set(DSCRIPTS_SOURCES_AI_MINIGAME ${DSCRIPTS_SOURCES_AI_MINIGAME} "Objects/${file}")
|
|
endforeach()
|
|
|
|
add_library(dScriptsAiMinigame STATIC ${DSCRIPTS_SOURCES_AI_MINIGAME})
|
|
target_include_directories(dScriptsAiMinigame PUBLIC "." "Objects" "SG_GF" "SG_GF/SERVER")
|
|
target_precompile_headers(dScriptsAiMinigame REUSE_FROM dScriptsBase)
|