summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-08-01 15:39:37 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-08-01 14:52:49 +0000
commit2e7d7c5035cfb1f6105e50d864dff3891bcd84ff (patch)
tree3a68780ab5d05ea5294e0845c5f81efa974dcde2 /tests/auto/corelib
parent67bbb9179f28df8696548af52e6edf24c914ebd2 (diff)
Regenerate qsocketnotifier test
Remove the previously wrongly committed CMakeLists.gen.txt file. Change-Id: I75e87865a9f2b237d321d29f92e25aee5f7febb9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r--tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.gen.txt9
-rw-r--r--tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt36
2 files changed, 36 insertions, 9 deletions
diff --git a/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.gen.txt b/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.gen.txt
deleted file mode 100644
index 45c64694db..0000000000
--- a/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.gen.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-# Generated from qsocketnotifier.pro.
-
-#####################################################################
-## tst_qsocketnotifier Test:
-#####################################################################
-
-add_qt_test(tst_qsocketnotifier
- SOURCES
- tst_qsocketnotifier.cpp
diff --git a/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt b/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt
new file mode 100644
index 0000000000..788fb5c4ec
--- /dev/null
+++ b/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from qsocketnotifier.pro.
+
+#####################################################################
+## tst_qsocketnotifier Test:
+#####################################################################
+
+add_qt_test(tst_qsocketnotifier
+ GUI
+ SOURCES
+ tst_qsocketnotifier.cpp
+ INCLUDE_DIRECTORIES
+ ${QT_SOURCE_TREE}/src/network
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::NetworkPrivate
+ PUBLIC_LIBRARIES
+ Qt::Network
+)
+
+#### Keys ignored in scope 1:.:.:qsocketnotifier.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qsocketnotifier CONDITION WIN32
+ PUBLIC_LIBRARIES
+ ws2_32
+)
+
+extend_target(tst_qsocketnotifier CONDITION QT_FEATURE_reduce_exports AND UNIX
+ SOURCES
+ ${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp
+ ${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine.cpp
+ ${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_unix.cpp
+)