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 --- src/corelib/doc/snippets/cmake-macros/examples.cmake | 3 +++ src/corelib/doc/snippets/resource-system/CMakeLists.txt | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/corelib/doc/snippets') diff --git a/src/corelib/doc/snippets/cmake-macros/examples.cmake b/src/corelib/doc/snippets/cmake-macros/examples.cmake index 62d6324bc9..17d1d628f9 100644 --- a/src/corelib/doc/snippets/cmake-macros/examples.cmake +++ b/src/corelib/doc/snippets/cmake-macros/examples.cmake @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + #! [qt_wrap_cpp] set(SOURCES myapp.cpp main.cpp) qt_wrap_cpp(SOURCES myapp.h) diff --git a/src/corelib/doc/snippets/resource-system/CMakeLists.txt b/src/corelib/doc/snippets/resource-system/CMakeLists.txt index 96bfe787dc..efb8aadfe7 100644 --- a/src/corelib/doc/snippets/resource-system/CMakeLists.txt +++ b/src/corelib/doc/snippets/resource-system/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 + project(my_app) cmake_minimum_required(VERSION 3.16) find_package(Qt6 REQUIRED COMPONENTS Widgets Qml) -- cgit v1.2.3