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/maxwarnings | |
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/maxwarnings')
-rw-r--r-- | tests/auto/testlib/selftests/maxwarnings/CMakeLists.txt | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/maxwarnings/CMakeLists.txt b/tests/auto/testlib/selftests/maxwarnings/CMakeLists.txt index c9077b32b0..4059539828 100644 --- a/tests/auto/testlib/selftests/maxwarnings/CMakeLists.txt +++ b/tests/auto/testlib/selftests/maxwarnings/CMakeLists.txt @@ -1 +1,24 @@ -add_qt_test(maxwarnings SOURCES maxwarnings.cpp) +# Generated from maxwarnings.pro. + +##################################################################### +## maxwarnings Binary: +##################################################################### + +add_qt_executable(maxwarnings + NO_INSTALL # special case + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case + GUI + SOURCES + maxwarnings.cpp + PUBLIC_LIBRARIES + Qt::Test +) + +#### Keys ignored in scope 1:.:.:maxwarnings.pro:<TRUE>: +# CONFIG = "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:maxwarnings.pro:APPLE_OSX: +# CONFIG = "-app_bundle" |