mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
d283bbd1c4
* fix: split apart big Cmake libraries * fix: formatting * fix: newline * fix: add quotes
39 lines
1.1 KiB
CMake
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)
|