2022-07-16 23:24:16 +00:00
|
|
|
set(DGAME_DUTILITIES_SOURCES "BrickDatabase.cpp"
|
2023-09-28 17:16:11 +00:00
|
|
|
"CheatDetection.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"GUID.cpp"
|
|
|
|
"Loot.cpp"
|
|
|
|
"Mail.cpp"
|
2024-01-05 12:31:22 +00:00
|
|
|
"ObjectIDManager.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"Preconditions.cpp"
|
|
|
|
"SlashCommandHandler.cpp"
|
2024-01-04 00:41:46 +00:00
|
|
|
"VanityUtilities.cpp")
|
|
|
|
|
|
|
|
add_library(dUtilities STATIC ${DGAME_DUTILITIES_SOURCES})
|
|
|
|
target_precompile_headers(dUtilities REUSE_FROM dGameBase)
|
2024-01-03 20:13:47 +00:00
|
|
|
target_include_directories(dUtilities PUBLIC "."
|
|
|
|
PRIVATE
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dComponents"
|
|
|
|
"${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
|
2024-01-03 20:31:50 +00:00
|
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # Mail.cpp
|
2024-01-03 20:13:47 +00:00
|
|
|
)
|
2024-01-04 00:41:46 +00:00
|
|
|
target_link_libraries(dUtilities
|
|
|
|
PUBLIC dDatabase dPhysics
|
|
|
|
INTERFACE dZoneManager)
|