diff options
Diffstat (limited to 'tests/auto/network/socket/CMakeLists.txt')
-rw-r--r-- | tests/auto/network/socket/CMakeLists.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/tests/auto/network/socket/CMakeLists.txt b/tests/auto/network/socket/CMakeLists.txt index a4b19ac1d6..7136017f39 100644 --- a/tests/auto/network/socket/CMakeLists.txt +++ b/tests/auto/network/socket/CMakeLists.txt @@ -1,4 +1,5 @@ -# Generated from socket.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause if(QT_FEATURE_private_tests) add_subdirectory(qhttpsocketengine) @@ -6,10 +7,20 @@ if(QT_FEATURE_private_tests) add_subdirectory(qsocks5socketengine) add_subdirectory(platformsocketengine) endif() -add_subdirectory(qudpsocket) -### add_subdirectory(qlocalsocket) # special case -add_subdirectory(qtcpserver) +if(QT_FEATURE_udpsocket) + add_subdirectory(qudpsocket) +endif() add_subdirectory(qabstractsocket) +if(QT_FEATURE_localserver AND NOT ANDROID) + # QTBUG-87387 + add_subdirectory(qlocalsocket) +endif() + +if(QT_FEATURE_networkinterface AND NOT ANDROID) + # QTBUG-87388 + add_subdirectory(qtcpserver) +endif() + if(QT_FEATURE_sctp) add_subdirectory(qsctpsocket) endif() |