mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 14:07:20 +00:00
25 lines
871 B
CMake
25 lines
871 B
CMake
set(DGAME_DUTILITIES_SOURCES "BrickDatabase.cpp"
|
|
"CheatDetection.cpp"
|
|
"GUID.cpp"
|
|
"Loot.cpp"
|
|
"Mail.cpp"
|
|
"ObjectIDManager.cpp"
|
|
"Preconditions.cpp"
|
|
"SlashCommandHandler.cpp"
|
|
"VanityUtilities.cpp")
|
|
|
|
add_library(dUtilities STATIC ${DGAME_DUTILITIES_SOURCES})
|
|
target_precompile_headers(dUtilities REUSE_FROM dGameBase)
|
|
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
|
|
)
|
|
target_link_libraries(dUtilities
|
|
PUBLIC dDatabase dPhysics
|
|
INTERFACE dZoneManager)
|