2024-01-04 00:41:46 +00:00
|
|
|
set(DGAME_DGAMEMESSAGES_SOURCES
|
|
|
|
"GameMessageHandler.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"GameMessages.cpp"
|
|
|
|
"PropertyDataMessage.cpp"
|
2024-01-04 00:41:46 +00:00
|
|
|
"PropertySelectQueryProperty.cpp")
|
|
|
|
|
2024-01-04 01:58:51 +00:00
|
|
|
add_library(dGameMessages OBJECT ${DGAME_DGAMEMESSAGES_SOURCES})
|
2024-01-03 20:13:47 +00:00
|
|
|
target_link_libraries(dGameMessages
|
|
|
|
PUBLIC dDatabase
|
|
|
|
INTERFACE dGameBase # TradingManager
|
|
|
|
)
|
|
|
|
target_include_directories(dGameMessages PUBLIC "."
|
|
|
|
PRIVATE
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dComponents" # direct MissionComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # direct SlashCommandHandler.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dPropertyBehaviors" # direct ControlBehaviors.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dMission" # via MissionComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # via InventoryComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via InventoryComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager/Spawner.h
|
2024-01-03 20:31:50 +00:00
|
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # via GameMessages.cpp, GameMessageHandler.cpp
|
2024-01-03 20:13:47 +00:00
|
|
|
)
|
2024-01-04 00:41:46 +00:00
|
|
|
target_precompile_headers(dGameMessages REUSE_FROM dGameBase)
|