32 lines
678 B
CMake
32 lines
678 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(XCEngine_EditorUITests)
|
|
|
|
set(XCENGINE_EDITOR_UI_TESTS_EDITOR_ROOT
|
|
"${CMAKE_SOURCE_DIR}/new_editor")
|
|
|
|
add_subdirectory(unit)
|
|
add_subdirectory(smoke)
|
|
add_subdirectory(manual_validation)
|
|
|
|
set(EDITOR_UI_UNIT_TEST_TARGETS
|
|
editor_ui_tests
|
|
)
|
|
if(TARGET editor_app_feature_tests)
|
|
list(APPEND EDITOR_UI_UNIT_TEST_TARGETS
|
|
editor_app_feature_tests
|
|
)
|
|
endif()
|
|
|
|
add_custom_target(editor_ui_unit_tests
|
|
DEPENDS
|
|
${EDITOR_UI_UNIT_TEST_TARGETS}
|
|
)
|
|
|
|
add_custom_target(editor_ui_validation_targets
|
|
DEPENDS
|
|
editor_ui_unit_tests
|
|
editor_ui_smoke_targets
|
|
editor_ui_manual_validation_scenarios
|
|
)
|