fb1b20eab3
CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I3b98cdc55ead806ec81ce09af9271f9b95af97fa Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
40 lines
1.3 KiB
CMake
40 lines
1.3 KiB
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
if(NOT TARGET Qt::Network)
|
|
return()
|
|
endif()
|
|
qt_internal_add_example(download)
|
|
qt_internal_add_example(downloadmanager)
|
|
if(NOT INTEGRITY)
|
|
qt_internal_add_example(dnslookup)
|
|
endif()
|
|
if(TARGET Qt::Widgets)
|
|
qt_internal_add_example(blockingfortuneclient)
|
|
qt_internal_add_example(broadcastreceiver)
|
|
qt_internal_add_example(broadcastsender)
|
|
qt_internal_add_example(http)
|
|
qt_internal_add_example(loopback)
|
|
qt_internal_add_example(threadedfortuneserver)
|
|
qt_internal_add_example(googlesuggest)
|
|
qt_internal_add_example(torrent)
|
|
qt_internal_add_example(multicastreceiver)
|
|
qt_internal_add_example(multicastsender)
|
|
qt_internal_add_example(fortuneclient)
|
|
qt_internal_add_example(fortuneserver)
|
|
endif()
|
|
if(QT_FEATURE_processenvironment AND TARGET Qt::Widgets)
|
|
qt_internal_add_example(network-chat)
|
|
endif()
|
|
if(QT_FEATURE_ssl AND TARGET Qt::Widgets)
|
|
qt_internal_add_example(securesocketclient)
|
|
endif()
|
|
if(QT_FEATURE_dtls AND TARGET Qt::Widgets)
|
|
qt_internal_add_example(secureudpserver)
|
|
qt_internal_add_example(secureudpclient)
|
|
endif()
|
|
if(QT_FEATURE_sctp AND TARGET Qt::Widgets)
|
|
qt_internal_add_example(multistreamserver)
|
|
qt_internal_add_example(multistreamclient)
|
|
endif()
|