2026-04-06 16:20:46 +08:00
|
|
|
file(TO_CMAKE_PATH "${CMAKE_SOURCE_DIR}" XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH)
|
|
|
|
|
|
|
|
|
|
add_subdirectory(shared)
|
2026-04-06 18:05:34 +08:00
|
|
|
add_subdirectory(shell)
|
2026-04-06 16:20:46 +08:00
|
|
|
add_subdirectory(state)
|
2026-04-06 03:17:53 +08:00
|
|
|
|
2026-04-07 03:51:26 +08:00
|
|
|
set(EDITOR_UI_INTEGRATION_TARGETS
|
|
|
|
|
editor_ui_workspace_shell_compose_validation
|
2026-04-07 06:30:34 +08:00
|
|
|
editor_ui_editor_shell_compose_validation
|
2026-04-07 10:16:55 +08:00
|
|
|
editor_ui_editor_shell_interaction_validation
|
2026-04-07 10:41:39 +08:00
|
|
|
editor_ui_dock_host_basic_validation
|
2026-04-07 03:51:26 +08:00
|
|
|
editor_ui_menu_bar_basic_validation
|
|
|
|
|
editor_ui_panel_frame_basic_validation
|
|
|
|
|
editor_ui_tab_strip_basic_validation
|
|
|
|
|
editor_ui_panel_session_flow_validation
|
|
|
|
|
editor_ui_layout_persistence_validation
|
|
|
|
|
editor_ui_shortcut_dispatch_validation
|
2026-04-07 11:12:18 +08:00
|
|
|
editor_ui_workspace_interaction_basic_validation
|
2026-04-07 03:51:26 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if(TARGET editor_ui_status_bar_basic_validation)
|
|
|
|
|
list(APPEND EDITOR_UI_INTEGRATION_TARGETS
|
|
|
|
|
editor_ui_status_bar_basic_validation)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if(TARGET editor_ui_context_menu_basic_validation)
|
|
|
|
|
list(APPEND EDITOR_UI_INTEGRATION_TARGETS
|
|
|
|
|
editor_ui_context_menu_basic_validation)
|
|
|
|
|
endif()
|
|
|
|
|
|
2026-04-07 04:23:33 +08:00
|
|
|
if(TARGET editor_ui_viewport_slot_basic_validation)
|
|
|
|
|
list(APPEND EDITOR_UI_INTEGRATION_TARGETS
|
|
|
|
|
editor_ui_viewport_slot_basic_validation)
|
|
|
|
|
endif()
|
|
|
|
|
|
2026-04-07 05:33:27 +08:00
|
|
|
if(TARGET editor_ui_viewport_shell_basic_validation)
|
|
|
|
|
list(APPEND EDITOR_UI_INTEGRATION_TARGETS
|
|
|
|
|
editor_ui_viewport_shell_basic_validation)
|
|
|
|
|
endif()
|
|
|
|
|
|
2026-04-07 06:14:58 +08:00
|
|
|
if(TARGET editor_ui_workspace_viewport_compose_validation)
|
|
|
|
|
list(APPEND EDITOR_UI_INTEGRATION_TARGETS
|
|
|
|
|
editor_ui_workspace_viewport_compose_validation)
|
|
|
|
|
endif()
|
|
|
|
|
|
2026-04-07 04:53:24 +08:00
|
|
|
if(TARGET editor_ui_viewport_input_bridge_basic_validation)
|
|
|
|
|
list(APPEND EDITOR_UI_INTEGRATION_TARGETS
|
|
|
|
|
editor_ui_viewport_input_bridge_basic_validation)
|
|
|
|
|
endif()
|
|
|
|
|
|
2026-04-06 03:17:53 +08:00
|
|
|
add_custom_target(editor_ui_integration_tests
|
|
|
|
|
DEPENDS
|
2026-04-07 03:51:26 +08:00
|
|
|
${EDITOR_UI_INTEGRATION_TARGETS}
|
2026-04-06 03:17:53 +08:00
|
|
|
)
|