DarkflameServer/dScripts/CMakeLists.txt
David Markowitz bd7f532a28
Implement the Imaginite Backpack and Shard armor scripts (#886)
* Imaginite Pack now works

* Remove unused params

* Address issues

* Add TeslaPack script

Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
2022-12-21 14:33:41 -08:00

55 lines
1.3 KiB
CMake

set(DSCRIPTS_SOURCES
"ActivityManager.cpp"
"BaseConsoleTeleportServer.cpp"
"BasePropertyServer.cpp"
"BaseRandomServer.cpp"
"BaseSurvivalServer.cpp"
"BaseWavesGenericEnemy.cpp"
"BaseWavesServer.cpp"
"ChooseYourDestinationNsToNt.cpp"
"CppScripts.cpp"
"Darkitect.cpp"
"NPCAddRemoveItem.cpp"
"NtFactionSpyServer.cpp"
"ScriptComponent.cpp"
"ScriptedPowerupSpawner.cpp"
"SpawnPetBaseServer.cpp")
add_subdirectory(02_server)
foreach(file ${DSCRIPTS_SOURCES_02_SERVER})
set(DSCRIPTS_SOURCES ${DSCRIPTS_SOURCES} "02_server/${file}")
endforeach()
add_subdirectory(ai)
foreach(file ${DSCRIPTS_SOURCES_AI})
set(DSCRIPTS_SOURCES ${DSCRIPTS_SOURCES} "ai/${file}")
endforeach()
add_subdirectory(client)
foreach(file ${DSCRIPTS_SOURCES_CLIENT})
set(DSCRIPTS_SOURCES ${DSCRIPTS_SOURCES} "client/${file}")
endforeach()
add_subdirectory(EquipmentScripts)
foreach(file ${DSCRIPTS_SOURCES_EQUIPMENTSCRIPTS})
set(DSCRIPTS_SOURCES ${DSCRIPTS_SOURCES} "EquipmentScripts/${file}")
endforeach()
add_subdirectory(EquipmentTriggers)
foreach(file ${DSCRIPTS_SOURCES_EQUIPMENTTRIGGERSSCRIPTS})
set(DSCRIPTS_SOURCES ${DSCRIPTS_SOURCES} "EquipmentTriggers/${file}")
endforeach()
add_subdirectory(zone)
foreach(file ${DSCRIPTS_SOURCES_ZONE})
set(DSCRIPTS_SOURCES ${DSCRIPTS_SOURCES} "zone/${file}")
endforeach()
set(DSCRIPTS_SOURCES ${DSCRIPTS_SOURCES} PARENT_SCOPE)