Files
DarkflameServer/dGame/dUtilities/CMakeLists.txt
Aaron Kimbrell 3526ee2eb0 revert(world): the edit mode world
This reverts commit f6914940. The client's level editor builds a zone's objects
itself from its own files, so a world server that constructs none of them has no use.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 19:34:43 -06:00

50 lines
1.5 KiB
CMake

set(DGAME_DUTILITIES_SOURCES "BrickDatabase.cpp"
"BrickByBrick.cpp"
"CaptureProperty.cpp"
"ChatServerLink.cpp"
"CheatDetection.cpp"
"DashboardActions.cpp"
"EconomyLedger.cpp"
"DashboardNotify.cpp"
"GUID.cpp"
"LiveEvents.cpp"
"HolidayEvents.cpp"
"Contraband.cpp"
"PropertyBuilders.cpp"
"PropertyRent.cpp"
"PropertyReputation.cpp"
"Loot.cpp"
"Mail.cpp"
"MessageInspector.cpp"
"ObjectIDManager.cpp"
"PlayerReports.cpp"
"ReplicaDecoder.cpp"
"Preconditions.cpp"
"SlashCommandHandler.cpp"
"UgcManifest.cpp"
"VanityUtilities.cpp"
"WorldMigration.cpp")
add_subdirectory(SlashCommands)
foreach(file ${DGAME_DUTILITIES_SLASHCOMMANDS})
set(DGAME_DUTILITIES_SOURCES ${DGAME_DUTILITIES_SOURCES} "SlashCommands/${file}")
endforeach()
add_library(dUtilities OBJECT ${DGAME_DUTILITIES_SOURCES})
target_precompile_headers(dUtilities REUSE_FROM dGameBase)
target_include_directories(dUtilities PUBLIC "." "SlashCommands"
PRIVATE
${DLU_COMPONENT_INCLUDE_DIRS}
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # transitive via PossessableComponent.h
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages"
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # transitive via InventoryComponent.h
"${PROJECT_SOURCE_DIR}/dGame/dMission" # transitive via MissionComponent.h
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # transitive via dZoneManager/Spawner.h
"${PROJECT_SOURCE_DIR}/dZoneManager" # Mail.cpp
"${PROJECT_SOURCE_DIR}/dChatFilter" # DashboardActions.cpp (messages sent into chat)
)
target_link_libraries(dUtilities
PUBLIC dDatabase dPhysics
INTERFACE dZoneManager)