diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-06-04 11:47:30 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-06-04 11:40:48 +0000 |
commit | 6d1c695b0e32b644d13a088ab3363b6aef75de68 (patch) | |
tree | c64067d237e225d8ccb9aa5db7cdd20cbd723def /tests/auto/testlib/selftests/singleskip/CMakeLists.txt | |
parent | ff68d84d3202d810efefeaebca2835cac4e05b4f (diff) |
cmake: Fix testlib/selftests
Actually build tst_selftest
Fix the subdirs of it not to be actually built as tests (so that ctest
doesn't pick them up and tries to run them)
Change-Id: Id9d069f44241027dbd103884d36551163382b216
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'tests/auto/testlib/selftests/singleskip/CMakeLists.txt')
-rw-r--r-- | tests/auto/testlib/selftests/singleskip/CMakeLists.txt | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/singleskip/CMakeLists.txt b/tests/auto/testlib/selftests/singleskip/CMakeLists.txt index 041b06aabb..015698758d 100644 --- a/tests/auto/testlib/selftests/singleskip/CMakeLists.txt +++ b/tests/auto/testlib/selftests/singleskip/CMakeLists.txt @@ -1 +1,24 @@ -add_qt_test(singleskip SOURCES tst_singleskip.cpp) +# Generated from singleskip.pro. + +##################################################################### +## singleskip Binary: +##################################################################### + +add_qt_executable(singleskip + NO_INSTALL # special case + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case + GUI + SOURCES + tst_singleskip.cpp + PUBLIC_LIBRARIES + Qt::Test +) + +#### Keys ignored in scope 1:.:.:singleskip.pro:<TRUE>: +# CONFIG = "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:singleskip.pro:APPLE_OSX: +# CONFIG = "-app_bundle" |