2024-01-04 00:41:46 +00:00
|
|
|
set(DGAME_DCOMPONENTS_SOURCES
|
|
|
|
"ActivityComponent.cpp"
|
2023-12-29 01:11:19 +00:00
|
|
|
"BaseCombatAIComponent.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"BouncerComponent.cpp"
|
|
|
|
"BuffComponent.cpp"
|
|
|
|
"BuildBorderComponent.cpp"
|
|
|
|
"CharacterComponent.cpp"
|
2023-10-23 01:08:49 +00:00
|
|
|
"CollectibleComponent.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"Component.cpp"
|
|
|
|
"ControllablePhysicsComponent.cpp"
|
|
|
|
"DestroyableComponent.cpp"
|
2023-08-04 02:44:03 +00:00
|
|
|
"DonationVendorComponent.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"InventoryComponent.cpp"
|
2023-10-23 01:08:49 +00:00
|
|
|
"ItemComponent.cpp"
|
2022-07-24 18:04:02 +00:00
|
|
|
"LevelProgressionComponent.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"LUPExhibitComponent.cpp"
|
|
|
|
"MissionComponent.cpp"
|
|
|
|
"MissionOfferComponent.cpp"
|
|
|
|
"ModelComponent.cpp"
|
|
|
|
"ModuleAssemblyComponent.cpp"
|
|
|
|
"MovementAIComponent.cpp"
|
|
|
|
"MovingPlatformComponent.cpp"
|
|
|
|
"PetComponent.cpp"
|
|
|
|
"PhantomPhysicsComponent.cpp"
|
2023-10-09 20:19:38 +00:00
|
|
|
"PhysicsComponent.cpp"
|
2022-07-24 18:25:10 +00:00
|
|
|
"PlayerForcedMovementComponent.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"PossessableComponent.cpp"
|
|
|
|
"PossessorComponent.cpp"
|
|
|
|
"PropertyComponent.cpp"
|
|
|
|
"PropertyEntranceComponent.cpp"
|
|
|
|
"PropertyManagementComponent.cpp"
|
|
|
|
"PropertyVendorComponent.cpp"
|
|
|
|
"ProximityMonitorComponent.cpp"
|
|
|
|
"RacingControlComponent.cpp"
|
|
|
|
"RailActivatorComponent.cpp"
|
2023-12-29 04:24:30 +00:00
|
|
|
"QuickBuildComponent.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"RenderComponent.cpp"
|
|
|
|
"RigidbodyPhantomPhysicsComponent.cpp"
|
2023-08-18 19:14:40 +00:00
|
|
|
"MultiZoneEntranceComponent.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"RocketLaunchpadControlComponent.cpp"
|
|
|
|
"ShootingGalleryComponent.cpp"
|
|
|
|
"SimplePhysicsComponent.cpp"
|
|
|
|
"SkillComponent.cpp"
|
|
|
|
"SoundTriggerComponent.cpp"
|
|
|
|
"SwitchComponent.cpp"
|
2023-02-10 08:29:53 +00:00
|
|
|
"TriggerComponent.cpp"
|
2023-12-04 15:20:41 +00:00
|
|
|
"HavokVehiclePhysicsComponent.cpp"
|
2023-10-23 01:08:49 +00:00
|
|
|
"VendorComponent.cpp"
|
2023-12-05 02:59:08 +00:00
|
|
|
"MiniGameControlComponent.cpp"
|
2023-10-23 01:08:49 +00:00
|
|
|
)
|
2024-01-04 00:41:46 +00:00
|
|
|
|
2024-01-04 01:58:51 +00:00
|
|
|
add_library(dComponents OBJECT ${DGAME_DCOMPONENTS_SOURCES})
|
2024-01-03 20:13:47 +00:00
|
|
|
target_include_directories(dComponents PUBLIC "."
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dMission" # via MissionComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # via InventoryComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via InventoryComponent.h
|
|
|
|
PRIVATE
|
2024-01-04 01:58:51 +00:00
|
|
|
"${PROJECT_SOURCE_DIR}/dCommon"
|
|
|
|
"${PROJECT_SOURCE_DIR}/dCommon/dEnums"
|
|
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/CDClientDatabase"
|
|
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/CDClientDatabase/CDClientTables"
|
|
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase"
|
|
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase/ITables"
|
|
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/mariadb-connector-cpp/include"
|
|
|
|
# dPhysics (via dpWorld.h)
|
|
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/recastnavigation/Recast/Include"
|
|
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/recastnavigation/Detour/Include"
|
|
|
|
|
2024-01-03 20:13:47 +00:00
|
|
|
"${PROJECT_SOURCE_DIR}/dScripts/02_server/Map/General" # PetDigServer.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages" # direct
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # direct Loot.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager/Spawner.h
|
2024-01-03 20:31:50 +00:00
|
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # via BouncerComponent.cpp, ActivityComponent.cpp
|
2024-01-03 20:13:47 +00:00
|
|
|
)
|
2024-01-04 00:41:46 +00:00
|
|
|
target_precompile_headers(dComponents REUSE_FROM dGameBase)
|
2024-01-04 01:58:51 +00:00
|
|
|
|
|
|
|
# INTERFACE link w/o dependency
|
|
|
|
#set_property(TARGET dComponents APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
|
|
|
# dUtilities dCommon dBehaviors dChatFilter dMission dInventory
|
|
|
|
# dPhysics
|
|
|
|
#)
|
|
|
|
|
|
|
|
target_link_libraries(dComponents INTERFACE dBehaviors)
|