From d431a18c5c94c028e09e6c1796adce9a5cfb86c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucie=20G=C3=A9rard?= Date: Wed, 6 Jul 2022 13:31:20 +0200 Subject: Add license headers to cmake files 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: I40135f08b4e89e8e034ec764ffed3273fc60646a Reviewed-by: Maurice Kalinowski --- CMakeLists.txt | 3 +++ examples/CMakeLists.txt | 3 +++ examples/mqtt/CMakeLists.txt | 3 +++ examples/mqtt/consolepubsub/CMakeLists.txt | 3 +++ examples/mqtt/quickpublication/CMakeLists.txt | 3 +++ examples/mqtt/quicksubscription/CMakeLists.txt | 3 +++ examples/mqtt/simpleclient/CMakeLists.txt | 3 +++ examples/mqtt/subscriptions/CMakeLists.txt | 3 +++ examples/mqtt/websocketsubscription/CMakeLists.txt | 3 +++ src/CMakeLists.txt | 3 +++ src/mqtt/CMakeLists.txt | 3 +++ tests/CMakeLists.txt | 3 +++ tests/auto/CMakeLists.txt | 3 +++ tests/auto/cmake/CMakeLists.txt | 3 +++ tests/auto/conformance/CMakeLists.txt | 3 +++ tests/auto/qmqttclient/CMakeLists.txt | 3 +++ tests/auto/qmqttconnectionproperties/CMakeLists.txt | 3 +++ tests/auto/qmqttcontrolpacket/CMakeLists.txt | 3 +++ tests/auto/qmqttlastwillproperties/CMakeLists.txt | 3 +++ tests/auto/qmqttpublishproperties/CMakeLists.txt | 3 +++ tests/auto/qmqttsubscription/CMakeLists.txt | 3 +++ tests/auto/qmqttsubscriptionproperties/CMakeLists.txt | 3 +++ tests/auto/qmqtttopicfilter/CMakeLists.txt | 3 +++ tests/auto/qmqtttopicname/CMakeLists.txt | 3 +++ tests/manual/sslconfiguration/CMakeLists.txt | 3 +++ 25 files changed, 75 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 86f77ac..bab897f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qtmqtt.pro. cmake_minimum_required(VERSION 3.16) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index ac93b40..3243fdb 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + qt_examples_build_begin(EXTERNAL_BUILD) add_subdirectory(mqtt) diff --git a/examples/mqtt/CMakeLists.txt b/examples/mqtt/CMakeLists.txt index 1a74da4..77801e8 100644 --- a/examples/mqtt/CMakeLists.txt +++ b/examples/mqtt/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + qt_internal_add_example(consolepubsub) if(TARGET Qt::Gui AND TARGET Qt::Widgets) qt_internal_add_example(simpleclient) diff --git a/examples/mqtt/consolepubsub/CMakeLists.txt b/examples/mqtt/consolepubsub/CMakeLists.txt index af3aabe..1fba7f7 100644 --- a/examples/mqtt/consolepubsub/CMakeLists.txt +++ b/examples/mqtt/consolepubsub/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + cmake_minimum_required(VERSION 3.16) project(qtmqtt_pub_sub LANGUAGES CXX) diff --git a/examples/mqtt/quickpublication/CMakeLists.txt b/examples/mqtt/quickpublication/CMakeLists.txt index 7229b97..4001b23 100644 --- a/examples/mqtt/quickpublication/CMakeLists.txt +++ b/examples/mqtt/quickpublication/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + cmake_minimum_required(VERSION 3.16) project(quickpublication LANGUAGES CXX) diff --git a/examples/mqtt/quicksubscription/CMakeLists.txt b/examples/mqtt/quicksubscription/CMakeLists.txt index 4c7a4fe..e7570ae 100644 --- a/examples/mqtt/quicksubscription/CMakeLists.txt +++ b/examples/mqtt/quicksubscription/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + cmake_minimum_required(VERSION 3.16) project(quicksubscription LANGUAGES CXX) diff --git a/examples/mqtt/simpleclient/CMakeLists.txt b/examples/mqtt/simpleclient/CMakeLists.txt index 35b112f..210a02b 100644 --- a/examples/mqtt/simpleclient/CMakeLists.txt +++ b/examples/mqtt/simpleclient/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + cmake_minimum_required(VERSION 3.16) project(simplemqttclient LANGUAGES CXX) diff --git a/examples/mqtt/subscriptions/CMakeLists.txt b/examples/mqtt/subscriptions/CMakeLists.txt index 6881b4f..60c90bc 100644 --- a/examples/mqtt/subscriptions/CMakeLists.txt +++ b/examples/mqtt/subscriptions/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + cmake_minimum_required(VERSION 3.16) project(mqttsubscriptions LANGUAGES CXX) diff --git a/examples/mqtt/websocketsubscription/CMakeLists.txt b/examples/mqtt/websocketsubscription/CMakeLists.txt index 205279e..d70df37 100644 --- a/examples/mqtt/websocketsubscription/CMakeLists.txt +++ b/examples/mqtt/websocketsubscription/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + cmake_minimum_required(VERSION 3.16) project(websocketsubscription LANGUAGES CXX) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bcce2e7..614dd36 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from src.pro. add_subdirectory(mqtt) diff --git a/src/mqtt/CMakeLists.txt b/src/mqtt/CMakeLists.txt index c675008..3379c9d 100644 --- a/src/mqtt/CMakeLists.txt +++ b/src/mqtt/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from mqtt.pro. ##################################################################### diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2214137..c2b9f9f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from tests.pro. if(QT_BUILD_STANDALONE_TESTS) diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt index 99adccd..22bae8e 100644 --- a/tests/auto/CMakeLists.txt +++ b/tests/auto/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from auto.pro. if(WIN32 OR (LINUX AND NOT CMAKE_CROSSCOMPILING)) diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt index 069b9a9..ead0413 100644 --- a/tests/auto/cmake/CMakeLists.txt +++ b/tests/auto/cmake/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + cmake_minimum_required(VERSION 3.16) diff --git a/tests/auto/conformance/CMakeLists.txt b/tests/auto/conformance/CMakeLists.txt index 1e710da..e51d645 100644 --- a/tests/auto/conformance/CMakeLists.txt +++ b/tests/auto/conformance/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from conformance.pro. ##################################################################### diff --git a/tests/auto/qmqttclient/CMakeLists.txt b/tests/auto/qmqttclient/CMakeLists.txt index 01e072b..24264dc 100644 --- a/tests/auto/qmqttclient/CMakeLists.txt +++ b/tests/auto/qmqttclient/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqttclient.pro. ##################################################################### diff --git a/tests/auto/qmqttconnectionproperties/CMakeLists.txt b/tests/auto/qmqttconnectionproperties/CMakeLists.txt index fedfce7..d190fde 100644 --- a/tests/auto/qmqttconnectionproperties/CMakeLists.txt +++ b/tests/auto/qmqttconnectionproperties/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqttconnectionproperties.pro. ##################################################################### diff --git a/tests/auto/qmqttcontrolpacket/CMakeLists.txt b/tests/auto/qmqttcontrolpacket/CMakeLists.txt index f9e1987..bc6a4a1 100644 --- a/tests/auto/qmqttcontrolpacket/CMakeLists.txt +++ b/tests/auto/qmqttcontrolpacket/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqttcontrolpacket.pro. ##################################################################### diff --git a/tests/auto/qmqttlastwillproperties/CMakeLists.txt b/tests/auto/qmqttlastwillproperties/CMakeLists.txt index 53d61b2..1318f79 100644 --- a/tests/auto/qmqttlastwillproperties/CMakeLists.txt +++ b/tests/auto/qmqttlastwillproperties/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqttlastwillproperties.pro. ##################################################################### diff --git a/tests/auto/qmqttpublishproperties/CMakeLists.txt b/tests/auto/qmqttpublishproperties/CMakeLists.txt index b9daf24..6b0d11e 100644 --- a/tests/auto/qmqttpublishproperties/CMakeLists.txt +++ b/tests/auto/qmqttpublishproperties/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqttpublishproperties.pro. ##################################################################### diff --git a/tests/auto/qmqttsubscription/CMakeLists.txt b/tests/auto/qmqttsubscription/CMakeLists.txt index b2d57bf..090e32d 100644 --- a/tests/auto/qmqttsubscription/CMakeLists.txt +++ b/tests/auto/qmqttsubscription/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqttsubscription.pro. ##################################################################### diff --git a/tests/auto/qmqttsubscriptionproperties/CMakeLists.txt b/tests/auto/qmqttsubscriptionproperties/CMakeLists.txt index 125e4ab..bc5904f 100644 --- a/tests/auto/qmqttsubscriptionproperties/CMakeLists.txt +++ b/tests/auto/qmqttsubscriptionproperties/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqttsubscriptionproperties.pro. ##################################################################### diff --git a/tests/auto/qmqtttopicfilter/CMakeLists.txt b/tests/auto/qmqtttopicfilter/CMakeLists.txt index f19eda6..832903b 100644 --- a/tests/auto/qmqtttopicfilter/CMakeLists.txt +++ b/tests/auto/qmqtttopicfilter/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqtttopicfilter.pro. ##################################################################### diff --git a/tests/auto/qmqtttopicname/CMakeLists.txt b/tests/auto/qmqtttopicname/CMakeLists.txt index 1c4089c..6a26083 100644 --- a/tests/auto/qmqtttopicname/CMakeLists.txt +++ b/tests/auto/qmqtttopicname/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from qmqtttopicname.pro. ##################################################################### diff --git a/tests/manual/sslconfiguration/CMakeLists.txt b/tests/manual/sslconfiguration/CMakeLists.txt index 5244ee6..249c317 100644 --- a/tests/manual/sslconfiguration/CMakeLists.txt +++ b/tests/manual/sslconfiguration/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + # Generated from sslconfiguration.pro. ##################################################################### -- cgit v1.2.3