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>
13 lines
390 B
CMake
13 lines
390 B
CMake
add_library(tst_manual_plugin2 SHARED
|
|
plugin2.cpp plugin2.h
|
|
)
|
|
|
|
set_target_properties(tst_manual_plugin2 PROPERTIES
|
|
OUTPUT_NAME "plugin2"
|
|
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_plugin2 PRIVATE ExtensionSystem)
|