set(DGAME_DPROPERTYBEHAVIORS_SOURCES "PropertyBehavior.cpp" "State.cpp" "Strip.cpp" "BlockDefinition.cpp" "ControlBehaviors.cpp" ) add_subdirectory(ControlBehaviorMessages) foreach(file ${DGAME_DPROPERTYBEHAVIORS_CONTROLBEHAVIORMESSAGES}) set(DGAME_DPROPERTYBEHAVIORS_SOURCES ${DGAME_DPROPERTYBEHAVIORS_SOURCES} "ControlBehaviorMessages/${file}") endforeach() set(DGAME_DPROPERTYBEHAVIORS_SOURCES ${DGAME_DPROPERTYBEHAVIORS_SOURCES} PARENT_SCOPE)