summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 15:20:29 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-07 17:42:41 +0200
commit73c6c8a80ea49bcc2ebd7f046e9e4fa98ad9880a (patch)
treee9fbc2d24fc7f41261ee2f2f79683fc0b170a83c
parentc902d3290d3a5ef1518c3ad9fe248c1f76dfa335 (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: I4702aec49e940c3a480b94cf8622155b9b688b9e Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt3
-rw-r--r--config.tests/socketcan/CMakeLists.txt3
-rw-r--r--config.tests/socketcan_fd/CMakeLists.txt3
-rw-r--r--configure.cmake3
-rw-r--r--examples/CMakeLists.txt3
-rw-r--r--examples/serialbus/CMakeLists.txt3
-rw-r--r--examples/serialbus/can/CMakeLists.txt3
-rw-r--r--examples/serialbus/modbus/CMakeLists.txt3
-rw-r--r--examples/serialbus/modbus/client/CMakeLists.txt3
-rw-r--r--examples/serialbus/modbus/custom/CMakeLists.txt3
-rw-r--r--examples/serialbus/modbus/server/CMakeLists.txt3
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/passthrucan/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/peakcan/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/socketcan/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/systeccan/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/tinycan/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/vectorcan/CMakeLists.txt3
-rw-r--r--src/plugins/canbus/virtualcan/CMakeLists.txt3
-rw-r--r--src/serialbus/CMakeLists.txt3
-rw-r--r--src/serialbus/configure.cmake3
-rw-r--r--src/tools/CMakeLists.txt3
-rw-r--r--src/tools/canbusutil/CMakeLists.txt3
-rw-r--r--tests/CMakeLists.txt3
-rw-r--r--tests/auto/CMakeLists.txt3
-rw-r--r--tests/auto/cmake/CMakeLists.txt3
-rw-r--r--tests/auto/plugins/testcanbus/CMakeLists.txt3
-rw-r--r--tests/auto/qcanbus/CMakeLists.txt3
-rw-r--r--tests/auto/qcanbusdevice/CMakeLists.txt3
-rw-r--r--tests/auto/qcanbusframe/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusadu/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusclient/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbuscommevent/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusdataunit/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusdevice/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusdeviceidentification/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbuspdu/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusreply/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusrtuserialclient/CMakeLists.txt3
-rw-r--r--tests/auto/qmodbusserver/CMakeLists.txt3
-rw-r--r--tests/manual/CMakeLists.txt3
-rw-r--r--tests/manual/modbus/CMakeLists.txt3
-rw-r--r--tests/manual/modbus/adueditor/CMakeLists.txt3
44 files changed, 132 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a69ddd4..0919688 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
+
cmake_minimum_required(VERSION 3.16)
include(.cmake.conf)
diff --git a/config.tests/socketcan/CMakeLists.txt b/config.tests/socketcan/CMakeLists.txt
index 19b505c..2fa9f0e 100644
--- a/config.tests/socketcan/CMakeLists.txt
+++ b/config.tests/socketcan/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)
project(config_test_socketcan LANGUAGES C CXX)
diff --git a/config.tests/socketcan_fd/CMakeLists.txt b/config.tests/socketcan_fd/CMakeLists.txt
index c049abc..9faa555 100644
--- a/config.tests/socketcan_fd/CMakeLists.txt
+++ b/config.tests/socketcan_fd/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)
project(config_test_socketcan_fd LANGUAGES C CXX)
diff --git a/configure.cmake b/configure.cmake
index 53e3f11..5c9c276 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -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
+
#### Inputs
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 42205d1..b52702e 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)
if(NOT TARGET Qt::Widgets)
diff --git a/examples/serialbus/CMakeLists.txt b/examples/serialbus/CMakeLists.txt
index 0bb3218..e65ae22 100644
--- a/examples/serialbus/CMakeLists.txt
+++ b/examples/serialbus/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
if(TARGET Qt::Widgets)
qt_internal_add_example(can)
add_subdirectory(modbus)
diff --git a/examples/serialbus/can/CMakeLists.txt b/examples/serialbus/can/CMakeLists.txt
index 34ec667..5a611f5 100644
--- a/examples/serialbus/can/CMakeLists.txt
+++ b/examples/serialbus/can/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(can LANGUAGES CXX)
diff --git a/examples/serialbus/modbus/CMakeLists.txt b/examples/serialbus/modbus/CMakeLists.txt
index 6e5a981..6ed5d13 100644
--- a/examples/serialbus/modbus/CMakeLists.txt
+++ b/examples/serialbus/modbus/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(client)
qt_internal_add_example(server)
qt_internal_add_example(custom)
diff --git a/examples/serialbus/modbus/client/CMakeLists.txt b/examples/serialbus/modbus/client/CMakeLists.txt
index 7b025d6..90f1cbc 100644
--- a/examples/serialbus/modbus/client/CMakeLists.txt
+++ b/examples/serialbus/modbus/client/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(modbusclient LANGUAGES CXX)
diff --git a/examples/serialbus/modbus/custom/CMakeLists.txt b/examples/serialbus/modbus/custom/CMakeLists.txt
index e9e676a..1c2d33f 100644
--- a/examples/serialbus/modbus/custom/CMakeLists.txt
+++ b/examples/serialbus/modbus/custom/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(customcommand LANGUAGES CXX)
diff --git a/examples/serialbus/modbus/server/CMakeLists.txt b/examples/serialbus/modbus/server/CMakeLists.txt
index 9bffef3..2466cc2 100644
--- a/examples/serialbus/modbus/server/CMakeLists.txt
+++ b/examples/serialbus/modbus/server/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(modbusserver LANGUAGES CXX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4d0bf34..71510e2 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
+
add_subdirectory(serialbus)
add_subdirectory(plugins)
add_subdirectory(tools)
diff --git a/src/plugins/canbus/CMakeLists.txt b/src/plugins/canbus/CMakeLists.txt
index c8a5144..9898187 100644
--- a/src/plugins/canbus/CMakeLists.txt
+++ b/src/plugins/canbus/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
+
add_subdirectory(virtualcan)
if(QT_FEATURE_socketcan)
add_subdirectory(socketcan)
diff --git a/src/plugins/canbus/passthrucan/CMakeLists.txt b/src/plugins/canbus/passthrucan/CMakeLists.txt
index 9bff00c..a1f138d 100644
--- a/src/plugins/canbus/passthrucan/CMakeLists.txt
+++ b/src/plugins/canbus/passthrucan/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
+
#####################################################################
## PassThruCanBusPlugin Plugin:
#####################################################################
diff --git a/src/plugins/canbus/peakcan/CMakeLists.txt b/src/plugins/canbus/peakcan/CMakeLists.txt
index e3010a5..805753f 100644
--- a/src/plugins/canbus/peakcan/CMakeLists.txt
+++ b/src/plugins/canbus/peakcan/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
+
#####################################################################
## PeakCanBusPlugin Plugin:
#####################################################################
diff --git a/src/plugins/canbus/socketcan/CMakeLists.txt b/src/plugins/canbus/socketcan/CMakeLists.txt
index 4b317a0..79c83a8 100644
--- a/src/plugins/canbus/socketcan/CMakeLists.txt
+++ b/src/plugins/canbus/socketcan/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
+
#####################################################################
## SocketCanBusPlugin Plugin:
#####################################################################
diff --git a/src/plugins/canbus/systeccan/CMakeLists.txt b/src/plugins/canbus/systeccan/CMakeLists.txt
index c1a1bec..a06ffd2 100644
--- a/src/plugins/canbus/systeccan/CMakeLists.txt
+++ b/src/plugins/canbus/systeccan/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
+
#####################################################################
## SystecCanBusPlugin Plugin:
#####################################################################
diff --git a/src/plugins/canbus/tinycan/CMakeLists.txt b/src/plugins/canbus/tinycan/CMakeLists.txt
index ad1c695..60baf3a 100644
--- a/src/plugins/canbus/tinycan/CMakeLists.txt
+++ b/src/plugins/canbus/tinycan/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
+
#####################################################################
## TinyCanBusPlugin Plugin:
#####################################################################
diff --git a/src/plugins/canbus/vectorcan/CMakeLists.txt b/src/plugins/canbus/vectorcan/CMakeLists.txt
index 585ada3..104bde8 100644
--- a/src/plugins/canbus/vectorcan/CMakeLists.txt
+++ b/src/plugins/canbus/vectorcan/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
+
#####################################################################
## VectorCanBusPlugin Plugin:
#####################################################################
diff --git a/src/plugins/canbus/virtualcan/CMakeLists.txt b/src/plugins/canbus/virtualcan/CMakeLists.txt
index 1783a09..b83035c 100644
--- a/src/plugins/canbus/virtualcan/CMakeLists.txt
+++ b/src/plugins/canbus/virtualcan/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
+
#####################################################################
## VirtualCanBusPlugin Plugin:
#####################################################################
diff --git a/src/serialbus/CMakeLists.txt b/src/serialbus/CMakeLists.txt
index 46ff4be..75b3492 100644
--- a/src/serialbus/CMakeLists.txt
+++ b/src/serialbus/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
+
#####################################################################
## SerialBus Module:
#####################################################################
diff --git a/src/serialbus/configure.cmake b/src/serialbus/configure.cmake
index 55911b0..e379698 100644
--- a/src/serialbus/configure.cmake
+++ b/src/serialbus/configure.cmake
@@ -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
+
#### Inputs
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index 61bfa83..59bb61e 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/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
+
if(android_app OR
(QT_FEATURE_commandlineparser
AND NOT ANDROID
diff --git a/src/tools/canbusutil/CMakeLists.txt b/src/tools/canbusutil/CMakeLists.txt
index e0d5cb6..f0c7eb9 100644
--- a/src/tools/canbusutil/CMakeLists.txt
+++ b/src/tools/canbusutil/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
+
#####################################################################
## canbusutil Tool:
#####################################################################
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 2e6270a..c3320c8 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
+
if(QT_BUILD_STANDALONE_TESTS)
# Add qt_find_package calls for extra dependencies that need to be found when building
# the standalone tests here.
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index a89c1e3..06d0c12 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
+
add_subdirectory(cmake)
add_subdirectory(qcanbusframe)
add_subdirectory(qcanbusdevice)
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 881a4c0..b5495cb 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
+
# This is an automatic test for the CMake configuration files.
# To run it manually,
# 1) mkdir build # Create a build directory
diff --git a/tests/auto/plugins/testcanbus/CMakeLists.txt b/tests/auto/plugins/testcanbus/CMakeLists.txt
index 75bff8e..fd52db2 100644
--- a/tests/auto/plugins/testcanbus/CMakeLists.txt
+++ b/tests/auto/plugins/testcanbus/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
+
#####################################################################
## TestCanBusPlugin Plugin:
#####################################################################
diff --git a/tests/auto/qcanbus/CMakeLists.txt b/tests/auto/qcanbus/CMakeLists.txt
index 98990f2..baa95ce 100644
--- a/tests/auto/qcanbus/CMakeLists.txt
+++ b/tests/auto/qcanbus/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
+
#####################################################################
## tst_qcanbus Test:
#####################################################################
diff --git a/tests/auto/qcanbusdevice/CMakeLists.txt b/tests/auto/qcanbusdevice/CMakeLists.txt
index d13a393..f4834b1 100644
--- a/tests/auto/qcanbusdevice/CMakeLists.txt
+++ b/tests/auto/qcanbusdevice/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
+
#####################################################################
## tst_qcanbusdevice Test:
#####################################################################
diff --git a/tests/auto/qcanbusframe/CMakeLists.txt b/tests/auto/qcanbusframe/CMakeLists.txt
index 2d62cea..b7f5253 100644
--- a/tests/auto/qcanbusframe/CMakeLists.txt
+++ b/tests/auto/qcanbusframe/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
+
#####################################################################
## tst_qcanbusframe Test:
#####################################################################
diff --git a/tests/auto/qmodbusadu/CMakeLists.txt b/tests/auto/qmodbusadu/CMakeLists.txt
index 49142c6..f0be96a 100644
--- a/tests/auto/qmodbusadu/CMakeLists.txt
+++ b/tests/auto/qmodbusadu/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
+
#####################################################################
## tst_qmodbusadu Test:
#####################################################################
diff --git a/tests/auto/qmodbusclient/CMakeLists.txt b/tests/auto/qmodbusclient/CMakeLists.txt
index ad808d3..e59f6ba 100644
--- a/tests/auto/qmodbusclient/CMakeLists.txt
+++ b/tests/auto/qmodbusclient/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
+
if(NOT QT_FEATURE_private_tests)
return()
endif()
diff --git a/tests/auto/qmodbuscommevent/CMakeLists.txt b/tests/auto/qmodbuscommevent/CMakeLists.txt
index 954d13a..168d021 100644
--- a/tests/auto/qmodbuscommevent/CMakeLists.txt
+++ b/tests/auto/qmodbuscommevent/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
+
#####################################################################
## tst_qmodbuscommevent Test:
#####################################################################
diff --git a/tests/auto/qmodbusdataunit/CMakeLists.txt b/tests/auto/qmodbusdataunit/CMakeLists.txt
index 3d493fe..c290853 100644
--- a/tests/auto/qmodbusdataunit/CMakeLists.txt
+++ b/tests/auto/qmodbusdataunit/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
+
#####################################################################
## tst_qmodbusdataunit Test:
#####################################################################
diff --git a/tests/auto/qmodbusdevice/CMakeLists.txt b/tests/auto/qmodbusdevice/CMakeLists.txt
index 3733126..80d0eff 100644
--- a/tests/auto/qmodbusdevice/CMakeLists.txt
+++ b/tests/auto/qmodbusdevice/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
+
#####################################################################
## tst_qmodbusdevice Test:
#####################################################################
diff --git a/tests/auto/qmodbusdeviceidentification/CMakeLists.txt b/tests/auto/qmodbusdeviceidentification/CMakeLists.txt
index c804b75..410b5ef 100644
--- a/tests/auto/qmodbusdeviceidentification/CMakeLists.txt
+++ b/tests/auto/qmodbusdeviceidentification/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
+
#####################################################################
## tst_qmodbusdeviceidentification Test:
#####################################################################
diff --git a/tests/auto/qmodbuspdu/CMakeLists.txt b/tests/auto/qmodbuspdu/CMakeLists.txt
index 51148bd..5b7c6ef 100644
--- a/tests/auto/qmodbuspdu/CMakeLists.txt
+++ b/tests/auto/qmodbuspdu/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
+
#####################################################################
## tst_qmodbuspdu Test:
#####################################################################
diff --git a/tests/auto/qmodbusreply/CMakeLists.txt b/tests/auto/qmodbusreply/CMakeLists.txt
index c13d921..b3d1f3b 100644
--- a/tests/auto/qmodbusreply/CMakeLists.txt
+++ b/tests/auto/qmodbusreply/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
+
#####################################################################
## tst_qmodbusreply Test:
#####################################################################
diff --git a/tests/auto/qmodbusrtuserialclient/CMakeLists.txt b/tests/auto/qmodbusrtuserialclient/CMakeLists.txt
index da0825b..8aef29c 100644
--- a/tests/auto/qmodbusrtuserialclient/CMakeLists.txt
+++ b/tests/auto/qmodbusrtuserialclient/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
+
qt_internal_add_test(tst_qmodbusrtuserialclient
SOURCES
tst_qmodbusrtuserialclient.cpp
diff --git a/tests/auto/qmodbusserver/CMakeLists.txt b/tests/auto/qmodbusserver/CMakeLists.txt
index 4217551..cf7f776 100644
--- a/tests/auto/qmodbusserver/CMakeLists.txt
+++ b/tests/auto/qmodbusserver/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
+
#####################################################################
## tst_qmodbusserver Test:
#####################################################################
diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt
index 1b066eb..0810640 100644
--- a/tests/manual/CMakeLists.txt
+++ b/tests/manual/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
+
if(TARGET Qt::Widgets AND TARGET Qt::SerialBus)
add_subdirectory(modbus)
endif()
diff --git a/tests/manual/modbus/CMakeLists.txt b/tests/manual/modbus/CMakeLists.txt
index 50fb58f..6ed73ba 100644
--- a/tests/manual/modbus/CMakeLists.txt
+++ b/tests/manual/modbus/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
+
if(QT_FEATURE_modbus_serialport)
add_subdirectory(adueditor)
endif()
diff --git a/tests/manual/modbus/adueditor/CMakeLists.txt b/tests/manual/modbus/adueditor/CMakeLists.txt
index 281a5da..e82edca 100644
--- a/tests/manual/modbus/adueditor/CMakeLists.txt
+++ b/tests/manual/modbus/adueditor/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
+
qt_internal_add_manual_test(adueditor
GUI
SOURCES