summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-06 12:54:18 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-07 14:23:05 +0200
commit74464fe33a28abe12657f960ac6eb59b92f4ecf9 (patch)
treef0bccd7011a75cc13b354c2fa3d9f782ccf2945f
parent2961ac00e77ff782e195d98cf873b41eca7f96a3 (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: I5d2588f7e3fd99bbb8bccca1dcb256afc215231b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt3
-rw-r--r--cmake/QtRepoSetup.cmake3
-rw-r--r--configure.cmake3
-rw-r--r--examples/CMakeLists.txt3
-rw-r--r--examples/scxml/CMakeLists.txt3
-rw-r--r--examples/scxml/calculator-qml/CMakeLists.txt3
-rw-r--r--examples/scxml/calculator-widgets/CMakeLists.txt3
-rw-r--r--examples/scxml/ftpclient/CMakeLists.txt3
-rw-r--r--examples/scxml/invoke-dynamic/CMakeLists.txt3
-rw-r--r--examples/scxml/invoke-static/CMakeLists.txt3
-rw-r--r--examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt3
-rw-r--r--examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt3
-rw-r--r--examples/scxml/mediaplayer-qml-static/CMakeLists.txt3
-rw-r--r--examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt3
-rw-r--r--examples/scxml/mediaplayer-widgets-static/CMakeLists.txt3
-rw-r--r--examples/scxml/pinball/CMakeLists.txt3
-rw-r--r--examples/scxml/sudoku/CMakeLists.txt3
-rw-r--r--examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt3
-rw-r--r--examples/scxml/trafficlight-qml-simple/CMakeLists.txt3
-rw-r--r--examples/scxml/trafficlight-qml-static/CMakeLists.txt3
-rw-r--r--examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt3
-rw-r--r--examples/scxml/trafficlight-widgets-static/CMakeLists.txt3
-rw-r--r--examples/statemachine/CMakeLists.txt3
-rw-r--r--examples/statemachine/animation/CMakeLists.txt3
-rw-r--r--examples/statemachine/animation/animatedtiles/CMakeLists.txt3
-rw-r--r--examples/statemachine/animation/moveblocks/CMakeLists.txt3
-rw-r--r--examples/statemachine/animation/states/CMakeLists.txt3
-rw-r--r--examples/statemachine/animation/stickman/CMakeLists.txt3
-rw-r--r--examples/statemachine/animation/sub-attaq/CMakeLists.txt3
-rw-r--r--examples/statemachine/graphicsview/padnavigator/CMakeLists.txt3
-rw-r--r--examples/statemachine/statemachine/CMakeLists.txt3
-rw-r--r--examples/statemachine/statemachine/eventtransitions/CMakeLists.txt3
-rw-r--r--examples/statemachine/statemachine/factorial/CMakeLists.txt3
-rw-r--r--examples/statemachine/statemachine/pingpong/CMakeLists.txt3
-rw-r--r--examples/statemachine/statemachine/rogue/CMakeLists.txt3
-rw-r--r--examples/statemachine/statemachine/trafficlight/CMakeLists.txt3
-rw-r--r--examples/statemachine/statemachine/twowaybutton/CMakeLists.txt3
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/plugins/CMakeLists.txt3
-rw-r--r--src/plugins/ecmascriptdatamodel/CMakeLists.txt3
-rw-r--r--src/scxml/CMakeLists.txt3
-rw-r--r--src/scxml/configure.cmake3
-rw-r--r--src/scxmlqml/CMakeLists.txt3
-rw-r--r--src/statemachine/CMakeLists.txt3
-rw-r--r--src/statemachine/configure.cmake3
-rw-r--r--src/statemachineqml/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/cmake/test_qtscxml_module/CMakeLists.txt3
-rw-r--r--tests/auto/compiled/CMakeLists.txt3
-rw-r--r--tests/auto/dynamicmetaobject/CMakeLists.txt3
-rw-r--r--tests/auto/parser/CMakeLists.txt3
-rw-r--r--tests/auto/qml/CMakeLists.txt3
-rw-r--r--tests/auto/qml/qqmlstatemachine/CMakeLists.txt3
-rw-r--r--tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt3
-rw-r--r--tests/auto/qml/scxmlqmlcpp/CMakeLists.txt3
-rw-r--r--tests/auto/qmltest/CMakeLists.txt3
-rw-r--r--tests/auto/qmltest/scxml/CMakeLists.txt3
-rw-r--r--tests/auto/qmltest/statemachine/CMakeLists.txt3
-rw-r--r--tests/auto/qstatemachine/CMakeLists.txt3
-rw-r--r--tests/auto/qstatemachine/qstate/CMakeLists.txt3
-rw-r--r--tests/auto/qstatemachine/qstatemachine/CMakeLists.txt3
-rw-r--r--tests/auto/scion/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/arguments/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/default/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/namespace/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/path/CMakeLists.txt3
-rw-r--r--tests/auto/statemachine/CMakeLists.txt3
-rw-r--r--tests/auto/statemachineinfo/CMakeLists.txt3
-rw-r--r--tests/manual/cppgen/CMakeLists.txt3
-rw-r--r--tests/manual/testCpp/CMakeLists.txt3
-rw-r--r--tools/CMakeLists.txt3
-rw-r--r--tools/qscxmlc/CMakeLists.txt3
75 files changed, 225 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb224c8..22cbaf8 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/cmake/QtRepoSetup.cmake b/cmake/QtRepoSetup.cmake
index 25ddbc1..adbecbf 100644
--- a/cmake/QtRepoSetup.cmake
+++ b/cmake/QtRepoSetup.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
+
function(add_qt_statecharts target)
# Don't try to add statecharts when cross compiling, and the target is actually a host target
# (like a tool).
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 f7a5b02..f765b17 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(TARGET Qt::Scxml)
diff --git a/examples/scxml/CMakeLists.txt b/examples/scxml/CMakeLists.txt
index 3560e53..088c8f2 100644
--- a/examples/scxml/CMakeLists.txt
+++ b/examples/scxml/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::Network AND QT_FEATURE_scxml_ecmascriptdatamodel)
qt_internal_add_example(ftpclient)
endif()
diff --git a/examples/scxml/calculator-qml/CMakeLists.txt b/examples/scxml/calculator-qml/CMakeLists.txt
index 6545e47..e9e3a61 100644
--- a/examples/scxml/calculator-qml/CMakeLists.txt
+++ b/examples/scxml/calculator-qml/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(calculator-qml LANGUAGES CXX)
diff --git a/examples/scxml/calculator-widgets/CMakeLists.txt b/examples/scxml/calculator-widgets/CMakeLists.txt
index 4e9db81..861a07e 100644
--- a/examples/scxml/calculator-widgets/CMakeLists.txt
+++ b/examples/scxml/calculator-widgets/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(calculator-widgets LANGUAGES CXX)
diff --git a/examples/scxml/ftpclient/CMakeLists.txt b/examples/scxml/ftpclient/CMakeLists.txt
index eb1af76..9c1c13e 100644
--- a/examples/scxml/ftpclient/CMakeLists.txt
+++ b/examples/scxml/ftpclient/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(ftpclient LANGUAGES CXX)
diff --git a/examples/scxml/invoke-dynamic/CMakeLists.txt b/examples/scxml/invoke-dynamic/CMakeLists.txt
index d187195..4b4460d 100644
--- a/examples/scxml/invoke-dynamic/CMakeLists.txt
+++ b/examples/scxml/invoke-dynamic/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(invoke-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/invoke-static/CMakeLists.txt b/examples/scxml/invoke-static/CMakeLists.txt
index 5e4130e..b33259b 100644
--- a/examples/scxml/invoke-static/CMakeLists.txt
+++ b/examples/scxml/invoke-static/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(invoke-static LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt b/examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt
index 281fe12..d1be15b 100644
--- a/examples/scxml/mediaplayer-qml-cppdatamodel/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-qml-cppdatamodel/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(mediaplayer-qml-cppdatamodel LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt b/examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt
index facb831..37e430b 100644
--- a/examples/scxml/mediaplayer-qml-dynamic/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-qml-dynamic/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(mediaplayer-qml-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-qml-static/CMakeLists.txt b/examples/scxml/mediaplayer-qml-static/CMakeLists.txt
index 054e31c..4f052e0 100644
--- a/examples/scxml/mediaplayer-qml-static/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-qml-static/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(mediaplayer-qml-static LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt b/examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt
index 75a3c9f..f549c1f 100644
--- a/examples/scxml/mediaplayer-widgets-dynamic/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-widgets-dynamic/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(mediaplayer-widgets-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/mediaplayer-widgets-static/CMakeLists.txt b/examples/scxml/mediaplayer-widgets-static/CMakeLists.txt
index 63f7d1f..551ac71 100644
--- a/examples/scxml/mediaplayer-widgets-static/CMakeLists.txt
+++ b/examples/scxml/mediaplayer-widgets-static/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(mediaplayer-widgets-static LANGUAGES CXX)
diff --git a/examples/scxml/pinball/CMakeLists.txt b/examples/scxml/pinball/CMakeLists.txt
index 04dfe2f..3c9da3c 100644
--- a/examples/scxml/pinball/CMakeLists.txt
+++ b/examples/scxml/pinball/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(pinball LANGUAGES CXX)
diff --git a/examples/scxml/sudoku/CMakeLists.txt b/examples/scxml/sudoku/CMakeLists.txt
index 8a0f848..646e8f8 100644
--- a/examples/scxml/sudoku/CMakeLists.txt
+++ b/examples/scxml/sudoku/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(sudoku LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt b/examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt
index d285d93..2c40ee7 100644
--- a/examples/scxml/trafficlight-qml-dynamic/CMakeLists.txt
+++ b/examples/scxml/trafficlight-qml-dynamic/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(trafficlight-qml-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-qml-simple/CMakeLists.txt b/examples/scxml/trafficlight-qml-simple/CMakeLists.txt
index ab33256..fa36334 100644
--- a/examples/scxml/trafficlight-qml-simple/CMakeLists.txt
+++ b/examples/scxml/trafficlight-qml-simple/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(trafficlight-qml-simple LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-qml-static/CMakeLists.txt b/examples/scxml/trafficlight-qml-static/CMakeLists.txt
index 20b29c5..abecad8 100644
--- a/examples/scxml/trafficlight-qml-static/CMakeLists.txt
+++ b/examples/scxml/trafficlight-qml-static/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(trafficlight-qml-static LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt b/examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt
index 7b8c0a2..3721429 100644
--- a/examples/scxml/trafficlight-widgets-dynamic/CMakeLists.txt
+++ b/examples/scxml/trafficlight-widgets-dynamic/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(trafficlight-widgets-dynamic LANGUAGES CXX)
diff --git a/examples/scxml/trafficlight-widgets-static/CMakeLists.txt b/examples/scxml/trafficlight-widgets-static/CMakeLists.txt
index b508b82..5f60563 100644
--- a/examples/scxml/trafficlight-widgets-static/CMakeLists.txt
+++ b/examples/scxml/trafficlight-widgets-static/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(trafficlight-widgets-static LANGUAGES CXX)
diff --git a/examples/statemachine/CMakeLists.txt b/examples/statemachine/CMakeLists.txt
index a8d233b..0f8012a 100644
--- a/examples/statemachine/CMakeLists.txt
+++ b/examples/statemachine/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
add_subdirectory(statemachine)
if(TARGET Qt::Widgets)
diff --git a/examples/statemachine/animation/CMakeLists.txt b/examples/statemachine/animation/CMakeLists.txt
index a72abbb..bf215be 100644
--- a/examples/statemachine/animation/CMakeLists.txt
+++ b/examples/statemachine/animation/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(animatedtiles)
qt_internal_add_example(moveblocks)
qt_internal_add_example(states)
diff --git a/examples/statemachine/animation/animatedtiles/CMakeLists.txt b/examples/statemachine/animation/animatedtiles/CMakeLists.txt
index 1e90bcf..c7691de 100644
--- a/examples/statemachine/animation/animatedtiles/CMakeLists.txt
+++ b/examples/statemachine/animation/animatedtiles/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(animatedtiles LANGUAGES CXX)
diff --git a/examples/statemachine/animation/moveblocks/CMakeLists.txt b/examples/statemachine/animation/moveblocks/CMakeLists.txt
index f5c0e66..2f68945 100644
--- a/examples/statemachine/animation/moveblocks/CMakeLists.txt
+++ b/examples/statemachine/animation/moveblocks/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(moveblocks LANGUAGES CXX)
diff --git a/examples/statemachine/animation/states/CMakeLists.txt b/examples/statemachine/animation/states/CMakeLists.txt
index 55b962a..e573777 100644
--- a/examples/statemachine/animation/states/CMakeLists.txt
+++ b/examples/statemachine/animation/states/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(states LANGUAGES CXX)
diff --git a/examples/statemachine/animation/stickman/CMakeLists.txt b/examples/statemachine/animation/stickman/CMakeLists.txt
index b2053fa..29270bf 100644
--- a/examples/statemachine/animation/stickman/CMakeLists.txt
+++ b/examples/statemachine/animation/stickman/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(stickman LANGUAGES CXX)
diff --git a/examples/statemachine/animation/sub-attaq/CMakeLists.txt b/examples/statemachine/animation/sub-attaq/CMakeLists.txt
index ee8d2a5..700a13e 100644
--- a/examples/statemachine/animation/sub-attaq/CMakeLists.txt
+++ b/examples/statemachine/animation/sub-attaq/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(sub-attaq LANGUAGES CXX)
diff --git a/examples/statemachine/graphicsview/padnavigator/CMakeLists.txt b/examples/statemachine/graphicsview/padnavigator/CMakeLists.txt
index 9aafb16..461cebb 100644
--- a/examples/statemachine/graphicsview/padnavigator/CMakeLists.txt
+++ b/examples/statemachine/graphicsview/padnavigator/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(padnavigator LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/CMakeLists.txt b/examples/statemachine/statemachine/CMakeLists.txt
index bda890e..7bc9855 100644
--- a/examples/statemachine/statemachine/CMakeLists.txt
+++ b/examples/statemachine/statemachine/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(factorial)
qt_internal_add_example(pingpong)
if(TARGET Qt::Widgets)
diff --git a/examples/statemachine/statemachine/eventtransitions/CMakeLists.txt b/examples/statemachine/statemachine/eventtransitions/CMakeLists.txt
index 4cef02c..6cb2790 100644
--- a/examples/statemachine/statemachine/eventtransitions/CMakeLists.txt
+++ b/examples/statemachine/statemachine/eventtransitions/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(eventtransitions LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/factorial/CMakeLists.txt b/examples/statemachine/statemachine/factorial/CMakeLists.txt
index ffbed55..ad32ca1 100644
--- a/examples/statemachine/statemachine/factorial/CMakeLists.txt
+++ b/examples/statemachine/statemachine/factorial/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(factorial LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/pingpong/CMakeLists.txt b/examples/statemachine/statemachine/pingpong/CMakeLists.txt
index e198e94..c8983b1 100644
--- a/examples/statemachine/statemachine/pingpong/CMakeLists.txt
+++ b/examples/statemachine/statemachine/pingpong/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(pingpong LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/rogue/CMakeLists.txt b/examples/statemachine/statemachine/rogue/CMakeLists.txt
index 966539c..88589ca 100644
--- a/examples/statemachine/statemachine/rogue/CMakeLists.txt
+++ b/examples/statemachine/statemachine/rogue/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(rogue LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/trafficlight/CMakeLists.txt b/examples/statemachine/statemachine/trafficlight/CMakeLists.txt
index 58ca7cc..548feaa 100644
--- a/examples/statemachine/statemachine/trafficlight/CMakeLists.txt
+++ b/examples/statemachine/statemachine/trafficlight/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(trafficlight LANGUAGES CXX)
diff --git a/examples/statemachine/statemachine/twowaybutton/CMakeLists.txt b/examples/statemachine/statemachine/twowaybutton/CMakeLists.txt
index d33a375..ad6cd16 100644
--- a/examples/statemachine/statemachine/twowaybutton/CMakeLists.txt
+++ b/examples/statemachine/statemachine/twowaybutton/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(twowaybutton LANGUAGES CXX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f1b7c2b..6d7e6b7 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(scxml)
add_subdirectory(statemachine)
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index 0b4c9f8..1da3981 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/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_scxml_ecmascriptdatamodel)
add_subdirectory(ecmascriptdatamodel)
endif()
diff --git a/src/plugins/ecmascriptdatamodel/CMakeLists.txt b/src/plugins/ecmascriptdatamodel/CMakeLists.txt
index 8762788..15260b4 100644
--- a/src/plugins/ecmascriptdatamodel/CMakeLists.txt
+++ b/src/plugins/ecmascriptdatamodel/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
+
#####################################################################
## EcmaScript SCXML DataModel Plugin:
#####################################################################
diff --git a/src/scxml/CMakeLists.txt b/src/scxml/CMakeLists.txt
index 4d75b56..be15451 100644
--- a/src/scxml/CMakeLists.txt
+++ b/src/scxml/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
+
#####################################################################
## Scxml Module:
diff --git a/src/scxml/configure.cmake b/src/scxml/configure.cmake
index 7e0f54e..a3697e5 100644
--- a/src/scxml/configure.cmake
+++ b/src/scxml/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/scxmlqml/CMakeLists.txt b/src/scxmlqml/CMakeLists.txt
index dce130e..e3d936f 100644
--- a/src/scxmlqml/CMakeLists.txt
+++ b/src/scxmlqml/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_include_in_repo_target_set(qtscxmlqml)
qt_internal_add_qml_module(ScxmlQml
diff --git a/src/statemachine/CMakeLists.txt b/src/statemachine/CMakeLists.txt
index 6823a27..6501b32 100644
--- a/src/statemachine/CMakeLists.txt
+++ b/src/statemachine/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
+
#####################################################################
## StateMachine Module:
diff --git a/src/statemachine/configure.cmake b/src/statemachine/configure.cmake
index 04fd8f6..52bb521 100644
--- a/src/statemachine/configure.cmake
+++ b/src/statemachine/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/statemachineqml/CMakeLists.txt b/src/statemachineqml/CMakeLists.txt
index e4e6ff5..6382e4b 100644
--- a/src/statemachineqml/CMakeLists.txt
+++ b/src/statemachineqml/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_include_in_repo_target_set(qtstatemachineqml)
qt_internal_add_qml_module(StateMachineQml
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index ae5e2f0..f6bc330 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
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index b92ad74..40502d4 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(scxmlcoutput)
if(TARGET Qt::Gui AND TARGET Qt::Qml)
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index c822fc8..88e031c 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/cmake/test_qtscxml_module/CMakeLists.txt b/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt
index 2095309..384c2b9 100644
--- a/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt
+++ b/tests/auto/cmake/test_qtscxml_module/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(test_qtscxml_module)
diff --git a/tests/auto/compiled/CMakeLists.txt b/tests/auto/compiled/CMakeLists.txt
index 1a22044..af6ec24 100644
--- a/tests/auto/compiled/CMakeLists.txt
+++ b/tests/auto/compiled/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_compiled Test:
diff --git a/tests/auto/dynamicmetaobject/CMakeLists.txt b/tests/auto/dynamicmetaobject/CMakeLists.txt
index ca2ec7e..b731543 100644
--- a/tests/auto/dynamicmetaobject/CMakeLists.txt
+++ b/tests/auto/dynamicmetaobject/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_dynamicmetaobject Test:
diff --git a/tests/auto/parser/CMakeLists.txt b/tests/auto/parser/CMakeLists.txt
index 20e1dbe..f29ec8a 100644
--- a/tests/auto/parser/CMakeLists.txt
+++ b/tests/auto/parser/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_scxml_parser Test:
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
index 23c8022..8cbd4c5 100644
--- a/tests/auto/qml/CMakeLists.txt
+++ b/tests/auto/qml/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::StateMachineQml)
add_subdirectory(qqmlstatemachine)
add_subdirectory(qqmlstatemachinemetatype)
diff --git a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
index 70f3da8..a32e208 100644
--- a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachine/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_qqmlstatemachine Test:
diff --git a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt b/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
index f7bad06..8deed9c 100644
--- a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachinemetatype/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_qqmlstatemachinemetatype Test:
#####################################################################
diff --git a/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt b/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt
index 5436a4f..466602c 100644
--- a/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt
+++ b/tests/auto/qml/scxmlqmlcpp/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
+
# Collect test data
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/tests/auto/qmltest/CMakeLists.txt b/tests/auto/qmltest/CMakeLists.txt
index 0f60ab6..ee7ea8c 100644
--- a/tests/auto/qmltest/CMakeLists.txt
+++ b/tests/auto/qmltest/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::StateMachineQml)
add_subdirectory(statemachine)
endif()
diff --git a/tests/auto/qmltest/scxml/CMakeLists.txt b/tests/auto/qmltest/scxml/CMakeLists.txt
index 64bec63..758875b 100644
--- a/tests/auto/qmltest/scxml/CMakeLists.txt
+++ b/tests/auto/qmltest/scxml/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
+
# Collect test data
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/tests/auto/qmltest/statemachine/CMakeLists.txt b/tests/auto/qmltest/statemachine/CMakeLists.txt
index 5f80b69..6d4466b 100644
--- a/tests/auto/qmltest/statemachine/CMakeLists.txt
+++ b/tests/auto/qmltest/statemachine/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
+
# Collect test data
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/tests/auto/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/CMakeLists.txt
index 060d461..4545e73 100644
--- a/tests/auto/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/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_qeventtransition)
add_subdirectory(qstate)
diff --git a/tests/auto/qstatemachine/qstate/CMakeLists.txt b/tests/auto/qstatemachine/qstate/CMakeLists.txt
index 3da7190..337d1d6 100644
--- a/tests/auto/qstatemachine/qstate/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstate/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_qstate Test:
diff --git a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
index 13cd6c2..2e99b36 100644
--- a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstatemachine/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_qstatemachine Test:
diff --git a/tests/auto/scion/CMakeLists.txt b/tests/auto/scion/CMakeLists.txt
index 9f7020a..e3fae5c 100644
--- a/tests/auto/scion/CMakeLists.txt
+++ b/tests/auto/scion/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_scion Test:
#####################################################################
diff --git a/tests/auto/scxmlcoutput/CMakeLists.txt b/tests/auto/scxmlcoutput/CMakeLists.txt
index 9e3d210..c3db010 100644
--- a/tests/auto/scxmlcoutput/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/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::Scxml)
add_subdirectory(default)
add_subdirectory(namespace)
diff --git a/tests/auto/scxmlcoutput/arguments/CMakeLists.txt b/tests/auto/scxmlcoutput/arguments/CMakeLists.txt
index 4e0d7ff..c360bcc 100644
--- a/tests/auto/scxmlcoutput/arguments/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/arguments/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_scxmlcoutput_arguments
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/scxmlcoutput/default/CMakeLists.txt b/tests/auto/scxmlcoutput/default/CMakeLists.txt
index e4a9517..f330010 100644
--- a/tests/auto/scxmlcoutput/default/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/default/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_scxmlcoutput_default
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/scxmlcoutput/namespace/CMakeLists.txt b/tests/auto/scxmlcoutput/namespace/CMakeLists.txt
index d06bbf8..d382e21 100644
--- a/tests/auto/scxmlcoutput/namespace/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/namespace/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_scxmlcoutput_namespace
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/scxmlcoutput/path/CMakeLists.txt b/tests/auto/scxmlcoutput/path/CMakeLists.txt
index 68408cd..5aadcda 100644
--- a/tests/auto/scxmlcoutput/path/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/path/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_scxmlcoutput_path
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/statemachine/CMakeLists.txt b/tests/auto/statemachine/CMakeLists.txt
index 475ac42..4bf5ab9 100644
--- a/tests/auto/statemachine/CMakeLists.txt
+++ b/tests/auto/statemachine/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_statemachine Test:
diff --git a/tests/auto/statemachineinfo/CMakeLists.txt b/tests/auto/statemachineinfo/CMakeLists.txt
index 171262e..0031c03 100644
--- a/tests/auto/statemachineinfo/CMakeLists.txt
+++ b/tests/auto/statemachineinfo/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_statemachineinfo Test:
diff --git a/tests/manual/cppgen/CMakeLists.txt b/tests/manual/cppgen/CMakeLists.txt
index ef9f777..150ceb3 100644
--- a/tests/manual/cppgen/CMakeLists.txt
+++ b/tests/manual/cppgen/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_cppgen Tool:
#####################################################################
diff --git a/tests/manual/testCpp/CMakeLists.txt b/tests/manual/testCpp/CMakeLists.txt
index aafd8e0..86d862c 100644
--- a/tests/manual/testCpp/CMakeLists.txt
+++ b/tests/manual/testCpp/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
+
#####################################################################
## testCpp Tool:
#####################################################################
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 9726a78..c15db64 100644
--- a/tools/CMakeLists.txt
+++ b/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(QT_FEATURE_commandlineparser)
add_subdirectory(qscxmlc)
diff --git a/tools/qscxmlc/CMakeLists.txt b/tools/qscxmlc/CMakeLists.txt
index 66834f8..c3e7d02 100644
--- a/tools/qscxmlc/CMakeLists.txt
+++ b/tools/qscxmlc/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
+
#####################################################################
## qscxmlc Tool:
#####################################################################