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-01-04 00:41:46 +00:00
|
|
|
add_library(dPropertyBehaviors STATIC ${DGAME_DPROPERTYBEHAVIORS_SOURCES})
|
2024-01-03 20:13:47 +00:00
|
|
|
target_include_directories(dPropertyBehaviors PUBLIC "." "ControlBehaviorMessages"
|
|
|
|
PRIVATE
|
|
|
|
"${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)
|