summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-11-14 17:47:07 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-11-15 12:24:09 +0000
commit4131118d849ef01c5a1f10ac0791088aec11b269 (patch)
treee05630c1e27d20d9e118a9a0b6f9b1e77a75f130 /tests
parent2e27d1967a9a4146697028ed8feed14d0df2a46a (diff)
downloadqtserialport-4131118d849ef01c5a1f10ac0791088aec11b269.tar.gz
Regenerate projectswip/cmake
Change-Id: I67f250ddeeff247effde641ea3059e62fa67971a Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qserialport/.prev_CMakeLists.txt13
-rw-r--r--tests/auto/qserialport/CMakeLists.txt2
-rw-r--r--tests/auto/qserialportinfo/.prev_CMakeLists.txt20
-rw-r--r--tests/auto/qserialportinfo/CMakeLists.txt7
-rw-r--r--tests/auto/qserialportinfoprivate/.prev_CMakeLists.txt15
-rw-r--r--tests/auto/qserialportinfoprivate/CMakeLists.txt2
6 files changed, 56 insertions, 3 deletions
diff --git a/tests/auto/qserialport/.prev_CMakeLists.txt b/tests/auto/qserialport/.prev_CMakeLists.txt
new file mode 100644
index 0000000..7c75e49
--- /dev/null
+++ b/tests/auto/qserialport/.prev_CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from qserialport.pro.
+
+#####################################################################
+## tst_qserialport Binary:
+#####################################################################
+
+qt_add_executable(tst_qserialport
+ SOURCES
+ tst_qserialport.cpp
+ PUBLIC_LIBRARIES
+ Qt::SerialPort
+ Qt::Test
+)
diff --git a/tests/auto/qserialport/CMakeLists.txt b/tests/auto/qserialport/CMakeLists.txt
index 184107f..899a627 100644
--- a/tests/auto/qserialport/CMakeLists.txt
+++ b/tests/auto/qserialport/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qserialport Binary:
#####################################################################
-add_qt_test(tst_qserialport
+qt_add_test(tst_qserialport # special case
SOURCES
tst_qserialport.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/qserialportinfo/.prev_CMakeLists.txt b/tests/auto/qserialportinfo/.prev_CMakeLists.txt
new file mode 100644
index 0000000..be89b65
--- /dev/null
+++ b/tests/auto/qserialportinfo/.prev_CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qserialportinfo.pro.
+
+#####################################################################
+## tst_qserialportinfo Binary:
+#####################################################################
+
+qt_add_executable(tst_qserialportinfo
+ SOURCES
+ tst_qserialportinfo.cpp
+ PUBLIC_LIBRARIES
+ Qt::Test
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qserialportinfo CONDITION (QT_MAJOR_VERSION GREATER 4)
+ PUBLIC_LIBRARIES
+ Qt::SerialPort
+)
diff --git a/tests/auto/qserialportinfo/CMakeLists.txt b/tests/auto/qserialportinfo/CMakeLists.txt
index 20a2df0..86f7a82 100644
--- a/tests/auto/qserialportinfo/CMakeLists.txt
+++ b/tests/auto/qserialportinfo/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qserialportinfo Binary:
#####################################################################
-add_qt_test(tst_qserialportinfo
+qt_add_test(tst_qserialportinfo # special case
SOURCES
tst_qserialportinfo.cpp
PUBLIC_LIBRARIES
@@ -14,3 +14,8 @@ add_qt_test(tst_qserialportinfo
## Scopes:
#####################################################################
+
+qt_extend_target(tst_qserialportinfo CONDITION (QT_MAJOR_VERSION GREATER 4)
+ PUBLIC_LIBRARIES
+ Qt::SerialPort
+)
diff --git a/tests/auto/qserialportinfoprivate/.prev_CMakeLists.txt b/tests/auto/qserialportinfoprivate/.prev_CMakeLists.txt
new file mode 100644
index 0000000..3bef9d2
--- /dev/null
+++ b/tests/auto/qserialportinfoprivate/.prev_CMakeLists.txt
@@ -0,0 +1,15 @@
+# Generated from qserialportinfoprivate.pro.
+
+#####################################################################
+## tst_qserialportinfoprivate Binary:
+#####################################################################
+
+qt_add_executable(tst_qserialportinfoprivate
+ SOURCES
+ tst_qserialportinfoprivate.cpp
+ LIBRARIES
+ Qt::SerialPortPrivate
+ PUBLIC_LIBRARIES
+ Qt::SerialPort
+ Qt::Test
+)
diff --git a/tests/auto/qserialportinfoprivate/CMakeLists.txt b/tests/auto/qserialportinfoprivate/CMakeLists.txt
index 6a0a055..6d89333 100644
--- a/tests/auto/qserialportinfoprivate/CMakeLists.txt
+++ b/tests/auto/qserialportinfoprivate/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qserialportinfoprivate Binary:
#####################################################################
-add_qt_test(tst_qserialportinfoprivate
+qt_add_test(tst_qserialportinfoprivate # special case
SOURCES
tst_qserialportinfoprivate.cpp
LIBRARIES