new_editor: close integration build boundary

This commit is contained in:
2026-04-17 21:57:24 +08:00
parent 9026aff881
commit af6e0858be
42 changed files with 217 additions and 974 deletions

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_asset_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_asset_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_asset_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_asset_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_asset_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_asset_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_asset_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_asset_field_basic_validation
OUTPUT_NAME "XCUIEditorAssetFieldBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_bool_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_bool_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_bool_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_bool_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_bool_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_bool_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_bool_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_bool_field_basic_validation
OUTPUT_NAME "XCUIEditorBoolFieldBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_color_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_color_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_color_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_color_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_color_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_color_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_color_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_color_field_basic_validation
OUTPUT_NAME "XCUIEditorColorFieldBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_context_menu_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_context_menu_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/engine/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
)
target_compile_definitions(editor_ui_context_menu_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_context_menu_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_context_menu_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_context_menu_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_context_menu_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_context_menu_basic_validation
OUTPUT_NAME "XCUIEditorContextMenuBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_dock_host_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_dock_host_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_dock_host_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_dock_host_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_dock_host_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_dock_host_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_dock_host_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_dock_host_basic_validation
OUTPUT_NAME "XCUIEditorDockHostBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_editor_shell_compose_validation WIN32
main.cpp
)
target_include_directories(editor_ui_editor_shell_compose_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_editor_shell_compose_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_editor_shell_compose_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_editor_shell_compose_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_editor_shell_compose_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_editor_shell_compose_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_editor_shell_compose_validation
OUTPUT_NAME "XCUIEditorShellComposeValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_editor_shell_interaction_validation WIN32
main.cpp
)
target_include_directories(editor_ui_editor_shell_interaction_validation PRIVATE
${CMAKE_SOURCE_DIR}/engine/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
)
target_compile_definitions(editor_ui_editor_shell_interaction_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_editor_shell_interaction_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_editor_shell_interaction_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_editor_shell_interaction_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_editor_shell_interaction_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_editor_shell_interaction_validation
OUTPUT_NAME "XCUIEditorShellInteractionValidation"
)
)

View File

@@ -46,7 +46,7 @@ using XCEngine::UI::UIPoint;
using XCEngine::UI::UIPointerButton;
using XCEngine::UI::UIRect;
using XCEngine::UI::Editor::AppendUIEditorShellInteraction;
using XCEngine::UI::Editor::BuildDefaultEditorShellAsset;
using XCEngine::UI::Editor::BuildEditorFoundationShellAsset;
using XCEngine::UI::Editor::BuildDefaultUIEditorWorkspaceSession;
using XCEngine::UI::Editor::BuildEditorShellShortcutManager;
using XCEngine::UI::Editor::BuildDefaultUIEditorWorkspaceController;
@@ -407,7 +407,7 @@ UIEditorMenuModel BuildMenuModel() {
}
EditorShellAsset BuildScenarioShellAsset() {
EditorShellAsset asset = BuildDefaultEditorShellAsset(ResolveRepoRootPath());
EditorShellAsset asset = BuildEditorFoundationShellAsset(ResolveRepoRootPath());
asset.panelRegistry = BuildPanelRegistry();
asset.workspace = BuildWorkspace();
asset.workspaceSession =

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_enum_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_enum_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_enum_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_enum_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_enum_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_enum_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_enum_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_enum_field_basic_validation
OUTPUT_NAME "XCUIEditorEnumFieldBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_list_view_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_list_view_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_list_view_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_list_view_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_list_view_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_list_view_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_list_view_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_list_view_basic_validation
OUTPUT_NAME "XCUIEditorListViewBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_list_view_inline_rename_validation WIN32
main.cpp
)
target_include_directories(editor_ui_list_view_inline_rename_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
)
target_compile_definitions(editor_ui_list_view_inline_rename_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_list_view_inline_rename_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_list_view_inline_rename_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_list_view_inline_rename_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_list_view_inline_rename_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_list_view_inline_rename_validation
OUTPUT_NAME "XCUIEditorListViewInlineRenameValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_list_view_multiselect_validation WIN32
main.cpp
)
target_include_directories(editor_ui_list_view_multiselect_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_list_view_multiselect_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_list_view_multiselect_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_list_view_multiselect_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_list_view_multiselect_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_list_view_multiselect_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_list_view_multiselect_validation
OUTPUT_NAME "XCUIEditorListViewMultiSelectValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_menu_bar_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_menu_bar_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/engine/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
)
target_compile_definitions(editor_ui_menu_bar_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_menu_bar_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_menu_bar_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_menu_bar_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_menu_bar_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_menu_bar_basic_validation
OUTPUT_NAME "XCUIEditorMenuBarBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_number_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_number_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_number_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_number_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_number_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_number_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_number_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_number_field_basic_validation
OUTPUT_NAME "XCUIEditorNumberFieldBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_object_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_object_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_object_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_object_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_object_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_object_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_object_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_object_field_basic_validation
OUTPUT_NAME "XCUIEditorObjectFieldBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_panel_content_host_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_panel_content_host_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/engine/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
)
target_compile_definitions(editor_ui_panel_content_host_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_panel_content_host_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_panel_content_host_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_panel_content_host_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_panel_content_host_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_panel_content_host_basic_validation
OUTPUT_NAME "XCUIEditorPanelContentHostBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_panel_frame_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_panel_frame_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_panel_frame_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_panel_frame_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_panel_frame_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_panel_frame_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_panel_frame_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_panel_frame_basic_validation
OUTPUT_NAME "XCUIEditorPanelFrameBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_property_grid_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_property_grid_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_property_grid_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_property_grid_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_property_grid_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_property_grid_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_property_grid_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_property_grid_basic_validation
OUTPUT_NAME "XCUIEditorPropertyGridBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_scroll_view_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_scroll_view_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_scroll_view_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_scroll_view_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_scroll_view_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_scroll_view_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_scroll_view_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_scroll_view_basic_validation
OUTPUT_NAME "XCUIEditorScrollViewBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_status_bar_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_status_bar_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_status_bar_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_status_bar_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_status_bar_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_status_bar_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_status_bar_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_status_bar_basic_validation
OUTPUT_NAME "XCUIEditorStatusBarBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_tab_strip_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_tab_strip_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_tab_strip_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_tab_strip_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_tab_strip_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_tab_strip_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_tab_strip_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_tab_strip_basic_validation
OUTPUT_NAME "XCUIEditorTabStripBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_text_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_text_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_text_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_text_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_text_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_text_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_text_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_text_field_basic_validation
OUTPUT_NAME "XCUIEditorTextFieldBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_tree_view_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_tree_view_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_tree_view_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_tree_view_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_tree_view_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_tree_view_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_tree_view_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_tree_view_basic_validation
OUTPUT_NAME "XCUIEditorTreeViewBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_tree_view_inline_rename_validation WIN32
main.cpp
)
target_include_directories(editor_ui_tree_view_inline_rename_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
)
target_compile_definitions(editor_ui_tree_view_inline_rename_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_tree_view_inline_rename_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_tree_view_inline_rename_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_tree_view_inline_rename_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_tree_view_inline_rename_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_tree_view_inline_rename_validation
OUTPUT_NAME "XCUIEditorTreeViewInlineRenameValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_tree_view_multiselect_validation WIN32
main.cpp
)
target_include_directories(editor_ui_tree_view_multiselect_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_tree_view_multiselect_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_tree_view_multiselect_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_tree_view_multiselect_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_tree_view_multiselect_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_tree_view_multiselect_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_tree_view_multiselect_validation
OUTPUT_NAME "XCUIEditorTreeViewMultiSelectValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_vector2_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_vector2_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_vector2_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_vector2_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_vector2_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_vector2_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_vector2_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_vector2_field_basic_validation
OUTPUT_NAME "XCUIEditorVector2FieldBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_vector3_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_vector3_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_vector3_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_vector3_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_vector3_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_vector3_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_vector3_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_vector3_field_basic_validation
OUTPUT_NAME "XCUIEditorVector3FieldBasicValidation"
)
)

View File

@@ -2,30 +2,7 @@ add_executable(editor_ui_vector4_field_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_vector4_field_basic_validation PRIVATE
${CMAKE_SOURCE_DIR}/tests/UI/Editor/integration/shared/src
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_vector4_field_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_vector4_field_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_vector4_field_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_vector4_field_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_vector4_field_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_vector4_field_basic_validation
OUTPUT_NAME "XCUIEditorVector4FieldBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_viewport_shell_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_viewport_shell_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_viewport_shell_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_viewport_shell_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_viewport_shell_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_viewport_shell_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_viewport_shell_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_viewport_shell_basic_validation
OUTPUT_NAME "XCUIEditorViewportShellBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_viewport_slot_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_viewport_slot_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_viewport_slot_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_viewport_slot_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_viewport_slot_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_viewport_slot_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_viewport_slot_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_viewport_slot_basic_validation
OUTPUT_NAME "XCUIEditorViewportSlotBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_workspace_interaction_basic_validation WIN32
main.cpp
)
target_include_directories(editor_ui_workspace_interaction_basic_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_workspace_interaction_basic_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_workspace_interaction_basic_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_workspace_interaction_basic_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_workspace_interaction_basic_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_workspace_interaction_basic_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_workspace_interaction_basic_validation
OUTPUT_NAME "XCUIEditorWorkspaceInteractionBasicValidation"
)
)

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_workspace_shell_compose_validation WIN32
main.cpp
)
target_include_directories(editor_ui_workspace_shell_compose_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_workspace_shell_compose_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_workspace_shell_compose_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_workspace_shell_compose_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_workspace_shell_compose_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_workspace_shell_compose_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_workspace_shell_compose_validation
OUTPUT_NAME "XCUIEditorWorkspaceShellComposeValidation"
)
)

View File

@@ -6,6 +6,7 @@
#include <XCEditor/Panels/UIEditorPanelRegistry.h>
#include <XCEditor/Workspace/UIEditorWorkspaceController.h>
#include <XCEditor/Workspace/UIEditorWorkspaceModel.h>
#include <XCEditor/Workspace/UIEditorWorkspaceQueries.h>
#include <XCEditor/Docking/UIEditorDockHost.h>
#include "Rendering/Native/AutoScreenshot.h"
#include "Rendering/Native/NativeRenderer.h"

View File

@@ -2,29 +2,7 @@ add_executable(editor_ui_workspace_viewport_compose_validation WIN32
main.cpp
)
target_include_directories(editor_ui_workspace_viewport_compose_validation PRIVATE
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}/include
${XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT}
${CMAKE_SOURCE_DIR}/engine/include
)
target_compile_definitions(editor_ui_workspace_viewport_compose_validation PRIVATE
UNICODE
_UNICODE
XCENGINE_EDITOR_UI_TESTS_REPO_ROOT="${XCENGINE_EDITOR_UI_TESTS_REPO_ROOT_PATH}"
)
if(MSVC)
target_compile_options(editor_ui_workspace_viewport_compose_validation PRIVATE /utf-8 /FS)
set_property(TARGET editor_ui_workspace_viewport_compose_validation PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
target_link_libraries(editor_ui_workspace_viewport_compose_validation PRIVATE
XCUIEditorLib
XCUIEditorHost
)
set_target_properties(editor_ui_workspace_viewport_compose_validation PROPERTIES
xcengine_configure_editor_ui_integration_validation_target(
editor_ui_workspace_viewport_compose_validation
OUTPUT_NAME "XCUIEditorWorkspaceViewportComposeValidation"
)
)