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>
15 lines
526 B
CMake
15 lines
526 B
CMake
add_library(tst_manual_plugin1 SHARED
|
|
plugin1.cpp plugin1.h
|
|
)
|
|
|
|
set_target_properties(tst_manual_plugin1 PROPERTIES
|
|
OUTPUT_NAME "plugin1"
|
|
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_plugin1 PRIVATE ExtensionSystem
|
|
PRIVATE tst_manual_plugin2
|
|
PRIVATE tst_manual_plugin3)
|