DarkflameServer/dScripts/02_server/Map/njhub/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

39 lines
1.1 KiB
CMake

set(DSCRIPTS_SOURCES_02_SERVER_MAP_NJHUB
"BurningTile.cpp"
"CatapultBaseServer.cpp"
"CatapultBouncerServer.cpp"
"CavePrisonCage.cpp"
"EnemySkeletonSpawner.cpp"
"FallingTile.cpp"
"FlameJetServer.cpp"
"ImaginationShrineServer.cpp"
"Lieutenant.cpp"
"MonCoreNookDoors.cpp"
"MonCoreSmashableDoors.cpp"
"NjColeNPC.cpp"
"NjDragonEmblemChestServer.cpp"
"NjEarthDragonPetServer.cpp"
"NjEarthPetServer.cpp"
"NjGarmadonCelebration.cpp"
"NjJayMissionItems.cpp"
"NjNPCMissionSpinjitzuServer.cpp"
"NjNyaMissionitems.cpp"
"NjScrollChestServer.cpp"
"NjWuNPC.cpp"
"RainOfArrows.cpp")
add_subdirectory(boss_instance)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_MAP_NJHUB_BOSS_INSTANCE})
set(DSCRIPTS_SOURCES_02_SERVER_MAP_NJHUB ${DSCRIPTS_SOURCES_02_SERVER_MAP_NJHUB} "boss_instance/${file}")
endforeach()
add_library(dScriptsServerMapNJHub ${DSCRIPTS_SOURCES_02_SERVER_MAP_NJHUB})
target_include_directories(dScriptsServerMapNJHub PUBLIC "." "boss_instance")
target_link_libraries(dScriptsServerMapNJHub
dScriptsServerPets
dScriptsServerMapAM
dScriptsServerMapGeneral
)
target_precompile_headers(dScriptsServerMapNJHub REUSE_FROM dScriptsBase)