mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +00:00
25 lines
1.0 KiB
CMake
25 lines
1.0 KiB
CMake
set(DGAME_DGAMEMESSAGES_SOURCES
|
|
"GameMessageHandler.cpp"
|
|
"GameMessages.cpp"
|
|
"PropertyDataMessage.cpp"
|
|
"PropertySelectQueryProperty.cpp")
|
|
|
|
add_library(dGameMessages OBJECT ${DGAME_DGAMEMESSAGES_SOURCES})
|
|
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
|
|
"${PROJECT_SOURCE_DIR}/dGame/dCinema"
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # via GameMessages.cpp, GameMessageHandler.cpp
|
|
)
|
|
target_precompile_headers(dGameMessages REUSE_FROM dGameBase)
|