Remove the two old FSMs ahead of the inheritance-based rewrite
Deletes the compile-time Void::StateMachine and the builder-based runtime Void::Fsm (Definition/Machine/Event/PluginBehavior + their standalone tests, the FSM behaviour plugins, and the FSM x Plugin integration test and its CMake wiring). The general-purpose Plugin module and its stateful hot-reload tests are untouched. Both are being replaced by a single inheritance + coroutine workflow FSM (next phase). 936 tests green (51 old FSM/StateMachine tests removed). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6b5f61f00a
commit
04cf1998bd
20 files changed
+3
-3793
No files matched your search
@@ -116,22 +116,4 @@ if(TARGET Void::Plugin)
|
||||
target_include_directories(VoidTests PRIVATE
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/plugins")
|
||||
add_dependencies(VoidTests VoidStatefulPluginV1 VoidStatefulPluginV2)
|
||||
|
||||
# FSM behaviour plugins (states/actions provided by a plugin) for the
|
||||
# FSM x Plugin hot-reload integration test. Same state names across
|
||||
# versions so swap_definition adopts the live configuration.
|
||||
if(TARGET Void::Fsm)
|
||||
add_library(VoidFsmPluginV1 SHARED
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/plugins/FsmPluginV1.cpp")
|
||||
add_library(VoidFsmPluginV2 SHARED
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/plugins/FsmPluginV2.cpp")
|
||||
foreach(_fp VoidFsmPluginV1 VoidFsmPluginV2)
|
||||
target_link_libraries(${_fp} PRIVATE Void::Plugin Void::Fsm)
|
||||
endforeach()
|
||||
target_compile_definitions(VoidTests PRIVATE
|
||||
"VOID_FSM_PLUGIN_V1_PATH=\"$<TARGET_FILE:VoidFsmPluginV1>\""
|
||||
"VOID_FSM_PLUGIN_V2_PATH=\"$<TARGET_FILE:VoidFsmPluginV2>\""
|
||||
)
|
||||
add_dependencies(VoidTests VoidFsmPluginV1 VoidFsmPluginV2)
|
||||
endif()
|
||||
endif()
|
||||
Reference in new issue
Block a user