From 5a7b71647469f691110068aac12c666c95ecbc6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucie=20G=C3=A9rard?= Date: Tue, 5 Jul 2022 14:02:29 +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: I72c89a98c42bbc9234d8495e9e503bec81d11037 Reviewed-by: Jörg Bornemann --- src/qml/doc/snippets/cmake/qt_target_qml_sources/CMakeLists.txt | 3 +++ src/qml/doc/snippets/code/doc_src_qtqml.cmake | 3 +++ src/qml/doc/snippets/qml/CMakeLists.txt | 3 +++ src/qml/doc/snippets/qmltc/CMakeLists.txt | 3 +++ 4 files changed, 12 insertions(+) (limited to 'src/qml/doc/snippets') diff --git a/src/qml/doc/snippets/cmake/qt_target_qml_sources/CMakeLists.txt b/src/qml/doc/snippets/cmake/qt_target_qml_sources/CMakeLists.txt index d33f009e38..a84aa9d22c 100644 --- a/src/qml/doc/snippets/cmake/qt_target_qml_sources/CMakeLists.txt +++ b/src/qml/doc/snippets/cmake/qt_target_qml_sources/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.19) project(qt_target_qml_sources_snippet) diff --git a/src/qml/doc/snippets/code/doc_src_qtqml.cmake b/src/qml/doc/snippets/code/doc_src_qtqml.cmake index 30ff8981a9..9253c00fb1 100644 --- a/src/qml/doc/snippets/code/doc_src_qtqml.cmake +++ b/src/qml/doc/snippets/code/doc_src_qtqml.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 + #! [0] find_package(Qt6 REQUIRED COMPONENTS Qml) target_link_libraries(mytarget PRIVATE Qt6::Qml) diff --git a/src/qml/doc/snippets/qml/CMakeLists.txt b/src/qml/doc/snippets/qml/CMakeLists.txt index 24e775341f..f5cec78d5a 100644 --- a/src/qml/doc/snippets/qml/CMakeLists.txt +++ b/src/qml/doc/snippets/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 + qt_add_library(extra_module STATIC) qt_add_qml_module(extra_module URI "ExtraModule" diff --git a/src/qml/doc/snippets/qmltc/CMakeLists.txt b/src/qml/doc/snippets/qmltc/CMakeLists.txt index 30c1e0db0e..62ff6deb82 100644 --- a/src/qml/doc/snippets/qmltc/CMakeLists.txt +++ b/src/qml/doc/snippets/qmltc/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 + set(application_name tst_qmltc_examples) #[[ #! [qmltc-app-name] -- cgit v1.2.3