diff options
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r-- | tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.gen.txt | 9 | ||||
-rw-r--r-- | tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt | 36 |
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 +) |