summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-06 13:31:20 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-07 10:10:51 +0200
commitd431a18c5c94c028e09e6c1796adce9a5cfb86c7 (patch)
tree28fb043d802d08bc66223d5807df275c42fcb9fd /examples
parent1a31512ba797d9f9f6ff041ed25d40c4270e47e2 (diff)
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 <maurice.kalinowski@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt3
-rw-r--r--examples/mqtt/CMakeLists.txt3
-rw-r--r--examples/mqtt/consolepubsub/CMakeLists.txt3
-rw-r--r--examples/mqtt/quickpublication/CMakeLists.txt3
-rw-r--r--examples/mqtt/quicksubscription/CMakeLists.txt3
-rw-r--r--examples/mqtt/simpleclient/CMakeLists.txt3
-rw-r--r--examples/mqtt/subscriptions/CMakeLists.txt3
-rw-r--r--examples/mqtt/websocketsubscription/CMakeLists.txt3
8 files changed, 24 insertions, 0 deletions
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)