From 181b5304b145d6fc945e893dd911981b9724e864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucie=20G=C3=A9rard?= Date: Tue, 5 Jul 2022 15:23:01 +0200 Subject: Add license headers to cmake files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: I92252eef173f02a313e1b11c8a8bffc72c7742f9 Reviewed-by: Jörg Bornemann --- CMakeLists.txt | 3 +++ configure.cmake | 3 +++ examples/CMakeLists.txt | 3 +++ examples/serialport/CMakeLists.txt | 3 +++ examples/serialport/blockingreceiver/CMakeLists.txt | 3 +++ examples/serialport/blockingsender/CMakeLists.txt | 3 +++ examples/serialport/cenumerator/CMakeLists.txt | 3 +++ examples/serialport/creaderasync/CMakeLists.txt | 3 +++ examples/serialport/creadersync/CMakeLists.txt | 3 +++ examples/serialport/cwriterasync/CMakeLists.txt | 3 +++ examples/serialport/cwritersync/CMakeLists.txt | 3 +++ examples/serialport/enumerator/CMakeLists.txt | 3 +++ examples/serialport/receiver/CMakeLists.txt | 3 +++ examples/serialport/sender/CMakeLists.txt | 3 +++ examples/serialport/terminal/CMakeLists.txt | 3 +++ src/serialport/CMakeLists.txt | 3 +++ src/serialport/configure.cmake | 3 +++ tests/CMakeLists.txt | 3 +++ tests/auto/CMakeLists.txt | 3 +++ tests/auto/cmake/CMakeLists.txt | 3 +++ tests/auto/qserialport/CMakeLists.txt | 3 +++ tests/auto/qserialportinfo/CMakeLists.txt | 3 +++ tests/auto/qserialportinfoprivate/CMakeLists.txt | 3 +++ 23 files changed, 69 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b1c6763..b834f951 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/configure.cmake b/configure.cmake index 53e3f110..5c9c2763 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 6d9244f3..8eb9e9e1 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 QNX) diff --git a/examples/serialport/CMakeLists.txt b/examples/serialport/CMakeLists.txt index 2a850aa0..922a4024 100644 --- a/examples/serialport/CMakeLists.txt +++ b/examples/serialport/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(cenumerator) qt_internal_add_example(creaderasync) qt_internal_add_example(creadersync) diff --git a/examples/serialport/blockingreceiver/CMakeLists.txt b/examples/serialport/blockingreceiver/CMakeLists.txt index bc660624..2b18fc7f 100644 --- a/examples/serialport/blockingreceiver/CMakeLists.txt +++ b/examples/serialport/blockingreceiver/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(blockingreceiver LANGUAGES CXX) diff --git a/examples/serialport/blockingsender/CMakeLists.txt b/examples/serialport/blockingsender/CMakeLists.txt index f2459324..1bdb7543 100644 --- a/examples/serialport/blockingsender/CMakeLists.txt +++ b/examples/serialport/blockingsender/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(blockingsender LANGUAGES CXX) diff --git a/examples/serialport/cenumerator/CMakeLists.txt b/examples/serialport/cenumerator/CMakeLists.txt index 1270e06f..861a09c1 100644 --- a/examples/serialport/cenumerator/CMakeLists.txt +++ b/examples/serialport/cenumerator/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(cenumerator LANGUAGES CXX) diff --git a/examples/serialport/creaderasync/CMakeLists.txt b/examples/serialport/creaderasync/CMakeLists.txt index ef13280f..8be16461 100644 --- a/examples/serialport/creaderasync/CMakeLists.txt +++ b/examples/serialport/creaderasync/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(creaderasync LANGUAGES CXX) diff --git a/examples/serialport/creadersync/CMakeLists.txt b/examples/serialport/creadersync/CMakeLists.txt index 5d06f777..f74ab41a 100644 --- a/examples/serialport/creadersync/CMakeLists.txt +++ b/examples/serialport/creadersync/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(creadersync LANGUAGES CXX) diff --git a/examples/serialport/cwriterasync/CMakeLists.txt b/examples/serialport/cwriterasync/CMakeLists.txt index ae729eef..624314f5 100644 --- a/examples/serialport/cwriterasync/CMakeLists.txt +++ b/examples/serialport/cwriterasync/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(cwriterasync LANGUAGES CXX) diff --git a/examples/serialport/cwritersync/CMakeLists.txt b/examples/serialport/cwritersync/CMakeLists.txt index 0484ab5d..403fd0a6 100644 --- a/examples/serialport/cwritersync/CMakeLists.txt +++ b/examples/serialport/cwritersync/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(cwritersync LANGUAGES CXX) diff --git a/examples/serialport/enumerator/CMakeLists.txt b/examples/serialport/enumerator/CMakeLists.txt index d9689c74..e2519d11 100644 --- a/examples/serialport/enumerator/CMakeLists.txt +++ b/examples/serialport/enumerator/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(enumerator LANGUAGES CXX) diff --git a/examples/serialport/receiver/CMakeLists.txt b/examples/serialport/receiver/CMakeLists.txt index 7d759c55..b1191b27 100644 --- a/examples/serialport/receiver/CMakeLists.txt +++ b/examples/serialport/receiver/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(receiver LANGUAGES CXX) diff --git a/examples/serialport/sender/CMakeLists.txt b/examples/serialport/sender/CMakeLists.txt index 0146160d..7aaa8656 100644 --- a/examples/serialport/sender/CMakeLists.txt +++ b/examples/serialport/sender/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(sender LANGUAGES CXX) diff --git a/examples/serialport/terminal/CMakeLists.txt b/examples/serialport/terminal/CMakeLists.txt index d3a37397..7c890615 100644 --- a/examples/serialport/terminal/CMakeLists.txt +++ b/examples/serialport/terminal/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(terminal LANGUAGES CXX) diff --git a/src/serialport/CMakeLists.txt b/src/serialport/CMakeLists.txt index 9e44f7e2..f9498409 100644 --- a/src/serialport/CMakeLists.txt +++ b/src/serialport/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 + ##################################################################### ## SerialPort Module: ##################################################################### diff --git a/src/serialport/configure.cmake b/src/serialport/configure.cmake index 6b283912..649804ba 100644 --- a/src/serialport/configure.cmake +++ b/src/serialport/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/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2e6270ae..c3320c84 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 97f8f2a2..482547de 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(qserialport) add_subdirectory(qserialportinfo) add_subdirectory(cmake) diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt index b61e4a50..af8ad28c 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/qserialport/CMakeLists.txt b/tests/auto/qserialport/CMakeLists.txt index 90438899..d8f00ef4 100644 --- a/tests/auto/qserialport/CMakeLists.txt +++ b/tests/auto/qserialport/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_qserialport Binary: ##################################################################### diff --git a/tests/auto/qserialportinfo/CMakeLists.txt b/tests/auto/qserialportinfo/CMakeLists.txt index 4ae3910e..a943f6f2 100644 --- a/tests/auto/qserialportinfo/CMakeLists.txt +++ b/tests/auto/qserialportinfo/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_qserialportinfo Binary: ##################################################################### diff --git a/tests/auto/qserialportinfoprivate/CMakeLists.txt b/tests/auto/qserialportinfoprivate/CMakeLists.txt index 20e45a97..bb905a7b 100644 --- a/tests/auto/qserialportinfoprivate/CMakeLists.txt +++ b/tests/auto/qserialportinfoprivate/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_qserialportinfoprivate Binary: ##################################################################### -- cgit v1.2.3