summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/strcmp
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-06-04 11:47:30 +0200
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-06-04 11:40:48 +0000
commit6d1c695b0e32b644d13a088ab3363b6aef75de68 (patch)
treec64067d237e225d8ccb9aa5db7cdd20cbd723def /tests/auto/testlib/selftests/strcmp
parentff68d84d3202d810efefeaebca2835cac4e05b4f (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/strcmp')
-rw-r--r--tests/auto/testlib/selftests/strcmp/CMakeLists.txt25
1 files changed, 24 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/strcmp/CMakeLists.txt b/tests/auto/testlib/selftests/strcmp/CMakeLists.txt
index cb50518af2..7660153592 100644
--- a/tests/auto/testlib/selftests/strcmp/CMakeLists.txt
+++ b/tests/auto/testlib/selftests/strcmp/CMakeLists.txt
@@ -1 +1,24 @@
-add_qt_test(strcmp SOURCES tst_strcmp.cpp)
+# Generated from strcmp.pro.
+
+#####################################################################
+## strcmp Binary:
+#####################################################################
+
+add_qt_executable(strcmp
+ NO_INSTALL # special case
+ OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
+ GUI
+ SOURCES
+ tst_strcmp.cpp
+ PUBLIC_LIBRARIES
+ Qt::Test
+)
+
+#### Keys ignored in scope 1:.:.:strcmp.pro:<TRUE>:
+# CONFIG = "-debug_and_release_target"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:strcmp.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"