DarkflameServer/dScripts/02_server/Map/NS/CMakeLists.txt
Daniel Seiler d283bbd1c4
fix: split apart big Cmake libraries (#1381)
* fix: split apart big Cmake libraries

* fix: formatting

* fix: newline

* fix: add quotes
2024-01-03 18:41:46 -06:00

16 lines
543 B
CMake

set(DSCRIPTS_SOURCES_02_SERVER_MAP_NS
"NsConcertChoiceBuildManager.cpp"
"NsLegoClubDoor.cpp"
"NsLupTeleport.cpp"
"NsTokenConsoleServer.cpp")
add_subdirectory(Waves)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_MAP_NS_WAVES})
set(DSCRIPTS_SOURCES_02_SERVER_MAP_NS ${DSCRIPTS_SOURCES_02_SERVER_MAP_NS} "Waves/${file}")
endforeach()
add_library(dScriptsServerMapNS ${DSCRIPTS_SOURCES_02_SERVER_MAP_NS})
target_include_directories(dScriptsServerMapNS PUBLIC "." "Waves")
target_precompile_headers(dScriptsServerMapNS REUSE_FROM dScriptsBase)