summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qcommandlineparser
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-03-27 17:51:05 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-04-05 15:57:32 +0000
commit867956a8432e16670c5ffdbcd97020622c58d08e (patch)
treecb10e174bd1c57b68df2051ee233679e3eaf8a76 /tests/auto/corelib/tools/qcommandlineparser
parent067d5dc027c134a7f822253fba59a1f4b5646955 (diff)
cmake: Build qcommandlineparser/testhelper
Change-Id: I1042e85575b39df18bcaaff7b57acc15d8552e6d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qcommandlineparser')
-rw-r--r--tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt20
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt b/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt
index 33d254a034..f4a38ed52d 100644
--- a/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt
@@ -1 +1,3 @@
+add_subdirectory(testhelper)
+
add_qt_test(tst_qcommandlineparser SOURCES tst_qcommandlineparser.cpp)
diff --git a/tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt b/tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt
new file mode 100644
index 0000000000..d93193ac64
--- /dev/null
+++ b/tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qcommandlineparser_test_helper.pro.
+
+#####################################################################
+## qcommandlineparser_test_helper Binary:
+#####################################################################
+
+# special case
+add_qt_test_helper(qcommandlineparser_test_helper
+ SOURCES
+ qcommandlineparser_test_helper.cpp
+)
+
+# special case
+set_target_properties(qcommandlineparser_test_helper PROPERTIES
+ RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+
+
+#### Keys ignored in scope 1:tests/auto/corelib/tools/qcommandlineparser/testhelper:tests/auto/corelib/tools/qcommandlineparser/testhelper/qcommandlineparser_test_helper.pro:<NONE>:
+# CONFIG = "console" "-app_bundle"
+# DESTDIR = "./"