forked from qt-creator/qt-creator
Add another option to mark a test as manual and use this for some existing. Manual tests will not be added as a ctest, but they can still get executed explicitly. Beside this allow to use a condition when using add_qtc_test(). Change-Id: I03d5397db36c0a2c9ee506a4214ed68fae6ad6e7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
14 lines
458 B
CMake
14 lines
458 B
CMake
add_library(tst_manual_plugin3 SHARED
|
|
plugin3.cpp plugin3.h
|
|
)
|
|
|
|
set_target_properties(tst_manual_plugin3 PROPERTIES
|
|
OUTPUT_NAME "plugin3"
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.."
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.."
|
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.."
|
|
)
|
|
|
|
target_link_libraries(tst_manual_plugin3 PRIVATE ExtensionSystem
|
|
PRIVATE tst_manual_plugin2)
|