2022-10-31 22:32:07 +00:00
|
|
|
set(DGAME_DPROPERTYBEHAVIORS_SOURCES
|
2024-01-03 13:34:38 +00:00
|
|
|
"PropertyBehavior.cpp"
|
|
|
|
"State.cpp"
|
|
|
|
"Strip.cpp"
|
2023-02-14 02:55:44 +00:00
|
|
|
"BlockDefinition.cpp"
|
2022-10-31 22:32:07 +00:00
|
|
|
"ControlBehaviors.cpp"
|
|
|
|
)
|
2023-02-14 02:55:44 +00:00
|
|
|
|
|
|
|
add_subdirectory(ControlBehaviorMessages)
|
|
|
|
|
|
|
|
foreach(file ${DGAME_DPROPERTYBEHAVIORS_CONTROLBEHAVIORMESSAGES})
|
|
|
|
set(DGAME_DPROPERTYBEHAVIORS_SOURCES ${DGAME_DPROPERTYBEHAVIORS_SOURCES} "ControlBehaviorMessages/${file}")
|
|
|
|
endforeach()
|
|
|
|
|
2024-03-06 02:13:24 +00:00
|
|
|
add_library(dPropertyBehaviors OBJECT ${DGAME_DPROPERTYBEHAVIORS_SOURCES})
|
2024-11-21 08:18:16 +00:00
|
|
|
target_link_libraries(dPropertyBehaviors PUBLIC tinyxml2 PRIVATE dDatabaseCDClient)
|
2024-03-06 02:13:24 +00:00
|
|
|
target_include_directories(dPropertyBehaviors PUBLIC "." "ControlBehaviorMessages"
|
|
|
|
PRIVATE
|
|
|
|
"${PROJECT_SOURCE_DIR}/dCommon/dClient" # ControlBehaviors.cpp uses AssetManager
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # ObjectIdManager.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages" # GameMessages.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dComponents" # ModelComponent.h
|
|
|
|
)
|
2024-01-04 00:41:46 +00:00
|
|
|
target_precompile_headers(dPropertyBehaviors REUSE_FROM dGameBase)
|
2024-03-06 02:13:24 +00:00
|
|
|
|
|
|
|
target_link_libraries(dPropertyBehaviors INTERFACE dComponents)
|