Skip to content

Commit fb1b20e

Browse files
committed
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: I3b98cdc55ead806ec81ce09af9271f9b95af97fa Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
1 parent 15117f8 commit fb1b20e

File tree

1,774 files changed

+5329
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,774 files changed

+5329
-94
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# special case skip regeneration
25

36
# Need an explicit call at the top level. This is the absolute minimum version

cmake/FindATSPI2.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)

cmake/FindCups.cmake

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2-
# file Copyright.txt or https://cmake.org/licensing for details.
1+
# Copyright (C) 2000-2022 Kitware, Inc. and Contributors.
2+
# Copyright (C) 2022 The Qt Company Ltd.
3+
# SPDX-License-Identifier: (LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0) AND BSD-3-Clause
34

45
#[=======================================================================[.rst:
56
FindCups

cmake/FindDB2.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
#.rst:
25
# FindDB2
36
# ---------

cmake/FindDirectFB.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(DirectFB directfb IMPORTED_TARGET)

cmake/FindGLESv2.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(CheckCXXSourceCompiles)
25

36
# No library linkage is necessary to use GLESv2 with Emscripten. The headers are also

cmake/FindGSSAPI.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25
pkg_check_modules(PC_GSSAPI QUIET krb5-gssapi)
36
if (NOT PC_GSSAPI_FOUND)

cmake/FindGTK3.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
set(__gtk3_required_version "${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION}")

cmake/FindInterbase.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
#.rst:
25
# FindInterbase
36
# ---------

cmake/FindLibb2.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# Blake2 contains a reference implementation, libb2 is a more efficient
25
# implementation of a subset of Blake2 functions and should be preferred.
36
# This Find module only searches for libb2 for that reason.

cmake/FindLibproxy.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(Libproxy libproxy-1.0 IMPORTED_TARGET)

cmake/FindLibsystemd.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(Libsystemd libsystemd IMPORTED_TARGET)

cmake/FindLibudev.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(Libudev libudev IMPORTED_TARGET)

cmake/FindMtdev.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)

cmake/FindMySQL.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
#.rst:
25
# FindMySQL
36
# ---------

cmake/FindOracle.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
#.rst:
25
# FindOracle
36
# ---------

cmake/FindPPS.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# Find the PPS library
25

36
# Will make the target PPS::PPS available when found.

cmake/FindPostgreSQL.cmake

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2-
# file Copyright.txt or https://cmake.org/licensing for details.
1+
# Copyright (C) 2000-2022 Kitware, Inc. and Contributors.
2+
# Copyright (C) 2022 The Qt Company Ltd.
3+
# SPDX-License-Identifier: (LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0) AND BSD-3-Clause
34

45
#[=======================================================================[.rst:
56
FindPostgreSQL

cmake/FindSlog2.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# Find the Slog2 library
25

36
# Will make the target Slog2::Slog2 available when found.

cmake/FindTslib.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(Tslib tslib IMPORTED_TARGET)

cmake/FindWrapAtomic.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapAtomic::WrapAtomic)

cmake/FindWrapBacktrace.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
if(TARGET WrapBacktrace::WrapBacktrace)
25
set(WrapBacktrace_FOUND ON)
36
return()

cmake/FindWrapBrotli.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
if(TARGET WrapBrotli::WrapBrotliDec)
25
set(WrapBrotli_FOUND ON)
36
return()

cmake/FindWrapDBus1.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# DBus1 is buggy and breaks PKG_CONFIG environment.
25
# Work around that:-/
36
# See https://gitlab.freedesktop.org/dbus/dbus/issues/267 for more information

cmake/FindWrapFreetype.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(QtFindWrapHelper NO_POLICY_SCOPE)
25

36
qt_find_package_system_or_bundled(wrap_freetype

cmake/FindWrapHarfbuzz.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(QtFindWrapHelper NO_POLICY_SCOPE)
25

36
qt_find_package_system_or_bundled(wrap_harfbuzz

cmake/FindWrapJpeg.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(QtFindWrapHelper NO_POLICY_SCOPE)
25

36
qt_find_package_system_or_bundled(wrap_jpeg

cmake/FindWrapOpenGL.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapOpenGL::WrapOpenGL)

cmake/FindWrapOpenSSL.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapOpenSSL::WrapOpenSSL)

cmake/FindWrapOpenSSLHeaders.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapOpenSSLHeaders::WrapOpenSSLHeaders)

cmake/FindWrapPCRE2.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(QtFindWrapHelper NO_POLICY_SCOPE)
25

36
qt_find_package_system_or_bundled(wrap_pcre2

cmake/FindWrapPNG.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(QtFindWrapHelper NO_POLICY_SCOPE)
25

36
qt_find_package_system_or_bundled(wrap_png

cmake/FindWrapRt.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapRt::WrapRt)

cmake/FindWrapSystemDoubleConversion.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapSystemDoubleConversion::WrapSystemDoubleConversion)

cmake/FindWrapSystemFreetype.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapSystemFreetype::WrapSystemFreetype)

cmake/FindWrapSystemHarfbuzz.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapSystemHarfbuzz::WrapSystemHarfbuzz)

cmake/FindWrapSystemJpeg.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
if(TARGET WrapSystemJpeg::WrapSystemJpeg)
25
set(WrapSystemJpeg_FOUND TRUE)
36
return()

cmake/FindWrapSystemMd4c.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
if(TARGET WrapSystemMd4c::WrapSystemMd4c)
25
set(WrapSystemMd4c_FOUND TRUE)
36
return()

cmake/FindWrapSystemPCRE2.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
if(TARGET WrapSystemPCRE2::WrapSystemPCRE2)
25
set(WrapSystemPCRE2_FOUND TRUE)
36
return()

cmake/FindWrapSystemPNG.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapSystemPNG::WrapSystemPNG)

cmake/FindWrapSystemZLIB.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapSystemZLIB::WrapSystemZLIB)

cmake/FindWrapVulkan.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapVulkan::WrapVulkan)

cmake/FindWrapVulkanHeaders.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# We can't create the same interface imported target multiple times, CMake will complain if we do
25
# that. This can happen if the find_package call is done in multiple different subdirectories.
36
if(TARGET WrapVulkanHeaders::WrapVulkanHeaders)

cmake/FindWrapZLIB.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(QtFindWrapHelper NO_POLICY_SCOPE)
25

36
qt_find_package_system_or_bundled(wrap_zlib

cmake/FindWrapZSTD.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
#.rst:
25
# FindZstd
36
# ---------

cmake/FindXKB_COMMON_X11.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
pkg_check_modules(XKB_COMMON_X11 "xkbcommon-x11>=0.4.1" IMPORTED_TARGET)

cmake/FindXRender.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
find_package(PkgConfig QUIET)
25

36
if(NOT TARGET PkgConfig::XRender)

cmake/QtAndroidHelpers.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
#
25
# Android specific functions/macros/properties required for building Qt Modules
36
#

cmake/QtAppHelpers.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# This function creates a CMake target for a Qt internal app.
25
# Such projects had a load(qt_app) command.
36
function(qt_internal_add_app target)

cmake/QtAutoDetect.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
#
25
# Collection of auto detection routines to improve the user experience when
36
# building Qt from source.

cmake/QtAutogenHelpers.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
# Initial autogen setup for a target to specify certain CMake properties which are common
25
# to all autogen tools. Also enable AUTOMOC by default.
36
function(qt_autogen_tools_initial_setup target)

cmake/QtBaseCMakeTesting.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
## Test the cmake build system:
25
option(BUILD_CMAKE_TESTING "Build tests for the Qt build system" OFF)
36
mark_as_advanced(BUILD_CMAKE_TESTING)

cmake/QtBaseConfigureTests.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(CheckCXXSourceCompiles)
25

36
function(qt_run_config_test_architecture)

cmake/QtBaseGlobalTargets.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
set(__GlobalConfig_path_suffix "${INSTALL_CMAKE_NAMESPACE}")
25
qt_path_join(__GlobalConfig_build_dir ${QT_CONFIG_BUILD_DIR} ${__GlobalConfig_path_suffix})
36
qt_path_join(__GlobalConfig_install_dir ${QT_CONFIG_INSTALL_DIR} ${__GlobalConfig_path_suffix})

cmake/QtBuild.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
include(CMakePackageConfigHelpers)
25
include(QtSeparateDebugInfo)
36

cmake/QtBuildInformation.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3+
14
function(qt_print_feature_summary)
25
if(QT_SUPERBUILD)
36
qt_internal_set_message_log_level(message_log_level)

0 commit comments

Comments
 (0)