From fb1b20eab30096f3f9edf3da1200fbe8e2f66b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucie=20G=C3=A9rard?= Date: Tue, 5 Jul 2022 13:26:52 +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: I3b98cdc55ead806ec81ce09af9271f9b95af97fa Reviewed-by: Jörg Bornemann --- config.tests/arch/CMakeLists.txt | 3 +++ config.tests/binary_for_strip/CMakeLists.txt | 3 +++ config.tests/cmake_zstd/check_zstd.cmake | 3 +++ config.tests/precompile_header/CMakeLists.txt | 3 +++ config.tests/separate_debug_info/CMakeLists.txt | 3 +++ config.tests/static_link_order/CMakeLists.txt | 3 +++ config.tests/x86_simd/CMakeLists.txt | 3 +++ config.tests/x86intrin/CMakeLists.txt | 3 +++ 8 files changed, 24 insertions(+) (limited to 'config.tests') diff --git a/config.tests/arch/CMakeLists.txt b/config.tests/arch/CMakeLists.txt index 9ef6e37b3b..4412dff941 100644 --- a/config.tests/arch/CMakeLists.txt +++ b/config.tests/arch/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(arch LANGUAGES CXX) diff --git a/config.tests/binary_for_strip/CMakeLists.txt b/config.tests/binary_for_strip/CMakeLists.txt index 4e22af01a2..703f2d05b5 100644 --- a/config.tests/binary_for_strip/CMakeLists.txt +++ b/config.tests/binary_for_strip/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(proj LANGUAGES CXX) add_library(lib1 SHARED lib1.cpp) diff --git a/config.tests/cmake_zstd/check_zstd.cmake b/config.tests/cmake_zstd/check_zstd.cmake index 267494f90b..282aecbd17 100644 --- a/config.tests/cmake_zstd/check_zstd.cmake +++ b/config.tests/cmake_zstd/check_zstd.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 + file(ARCHIVE_CREATE OUTPUT cmake_zstd.zstd PATHS "${CMAKE_CURRENT_LIST_FILE}" diff --git a/config.tests/precompile_header/CMakeLists.txt b/config.tests/precompile_header/CMakeLists.txt index 3009eafd19..31d93b3908 100644 --- a/config.tests/precompile_header/CMakeLists.txt +++ b/config.tests/precompile_header/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(precompile_header LANGUAGES CXX) diff --git a/config.tests/separate_debug_info/CMakeLists.txt b/config.tests/separate_debug_info/CMakeLists.txt index e75be13e40..1077734dad 100644 --- a/config.tests/separate_debug_info/CMakeLists.txt +++ b/config.tests/separate_debug_info/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 + # special case skip regeneration cmake_minimum_required(VERSION 3.16) project(objcopytest LANGUAGES CXX) diff --git a/config.tests/static_link_order/CMakeLists.txt b/config.tests/static_link_order/CMakeLists.txt index b3c122c300..47578c19aa 100644 --- a/config.tests/static_link_order/CMakeLists.txt +++ b/config.tests/static_link_order/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 + # The test represents the order-related issue that we have with the ld linker. # # CMake versions < 3.21.0 produce the following linker line: diff --git a/config.tests/x86_simd/CMakeLists.txt b/config.tests/x86_simd/CMakeLists.txt index d70f9b54e0..cd20032efa 100644 --- a/config.tests/x86_simd/CMakeLists.txt +++ b/config.tests/x86_simd/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(x86_simd LANGUAGES CXX) diff --git a/config.tests/x86intrin/CMakeLists.txt b/config.tests/x86intrin/CMakeLists.txt index 475d062f64..a4ad213a7d 100644 --- a/config.tests/x86intrin/CMakeLists.txt +++ b/config.tests/x86intrin/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(x86intrin LANGUAGES CXX) add_executable(x86intrin main.cpp) -- cgit v1.2.3