Skip to content

Commit

Permalink
Add license headers to cmake files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
lugerard committed Aug 3, 2022
1 parent 15117f8 commit fb1b20e
Show file tree
Hide file tree
Showing 1,774 changed files with 5,329 additions and 94 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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

# Need an explicit call at the top level. This is the absolute minimum version
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindATSPI2.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

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

#[=======================================================================[.rst:
FindCups
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindDB2.cmake
Original file line number Diff line number Diff line change
@@ -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

#.rst:
# FindDB2
# ---------
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindDirectFB.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

pkg_check_modules(DirectFB directfb IMPORTED_TARGET)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindGLESv2.cmake
Original file line number Diff line number Diff line change
@@ -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

include(CheckCXXSourceCompiles)

# No library linkage is necessary to use GLESv2 with Emscripten. The headers are also
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindGSSAPI.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)
pkg_check_modules(PC_GSSAPI QUIET krb5-gssapi)
if (NOT PC_GSSAPI_FOUND)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindGTK3.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

set(__gtk3_required_version "${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION}")
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindInterbase.cmake
Original file line number Diff line number Diff line change
@@ -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

#.rst:
# FindInterbase
# ---------
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindLibb2.cmake
Original file line number Diff line number Diff line change
@@ -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

# Blake2 contains a reference implementation, libb2 is a more efficient
# implementation of a subset of Blake2 functions and should be preferred.
# This Find module only searches for libb2 for that reason.
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindLibproxy.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

pkg_check_modules(Libproxy libproxy-1.0 IMPORTED_TARGET)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindLibsystemd.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

pkg_check_modules(Libsystemd libsystemd IMPORTED_TARGET)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindLibudev.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

pkg_check_modules(Libudev libudev IMPORTED_TARGET)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindMtdev.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindMySQL.cmake
Original file line number Diff line number Diff line change
@@ -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

#.rst:
# FindMySQL
# ---------
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindOracle.cmake
Original file line number Diff line number Diff line change
@@ -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

#.rst:
# FindOracle
# ---------
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindPPS.cmake
Original file line number Diff line number Diff line change
@@ -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

# Find the PPS library

# Will make the target PPS::PPS available when found.
Expand Down
5 changes: 3 additions & 2 deletions cmake/FindPostgreSQL.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
# Copyright (C) 2000-2022 Kitware, Inc. and Contributors.
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: (LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0) AND BSD-3-Clause

#[=======================================================================[.rst:
FindPostgreSQL
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindSlog2.cmake
Original file line number Diff line number Diff line change
@@ -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

# Find the Slog2 library

# Will make the target Slog2::Slog2 available when found.
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindTslib.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

pkg_check_modules(Tslib tslib IMPORTED_TARGET)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapAtomic.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapAtomic::WrapAtomic)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapBacktrace.cmake
Original file line number Diff line number Diff line change
@@ -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(TARGET WrapBacktrace::WrapBacktrace)
set(WrapBacktrace_FOUND ON)
return()
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapBrotli.cmake
Original file line number Diff line number Diff line change
@@ -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(TARGET WrapBrotli::WrapBrotliDec)
set(WrapBrotli_FOUND ON)
return()
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapDBus1.cmake
Original file line number Diff line number Diff line change
@@ -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

# DBus1 is buggy and breaks PKG_CONFIG environment.
# Work around that:-/
# See https://gitlab.freedesktop.org/dbus/dbus/issues/267 for more information
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapFreetype.cmake
Original file line number Diff line number Diff line change
@@ -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

include(QtFindWrapHelper NO_POLICY_SCOPE)

qt_find_package_system_or_bundled(wrap_freetype
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapHarfbuzz.cmake
Original file line number Diff line number Diff line change
@@ -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

include(QtFindWrapHelper NO_POLICY_SCOPE)

qt_find_package_system_or_bundled(wrap_harfbuzz
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapJpeg.cmake
Original file line number Diff line number Diff line change
@@ -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

include(QtFindWrapHelper NO_POLICY_SCOPE)

qt_find_package_system_or_bundled(wrap_jpeg
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapOpenGL.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapOpenGL::WrapOpenGL)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapOpenSSL.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapOpenSSL::WrapOpenSSL)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapOpenSSLHeaders.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapOpenSSLHeaders::WrapOpenSSLHeaders)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapPCRE2.cmake
Original file line number Diff line number Diff line change
@@ -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

include(QtFindWrapHelper NO_POLICY_SCOPE)

qt_find_package_system_or_bundled(wrap_pcre2
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapPNG.cmake
Original file line number Diff line number Diff line change
@@ -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

include(QtFindWrapHelper NO_POLICY_SCOPE)

qt_find_package_system_or_bundled(wrap_png
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapRt.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapRt::WrapRt)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemDoubleConversion.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapSystemDoubleConversion::WrapSystemDoubleConversion)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemFreetype.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapSystemFreetype::WrapSystemFreetype)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemHarfbuzz.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapSystemHarfbuzz::WrapSystemHarfbuzz)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemJpeg.cmake
Original file line number Diff line number Diff line change
@@ -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(TARGET WrapSystemJpeg::WrapSystemJpeg)
set(WrapSystemJpeg_FOUND TRUE)
return()
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemMd4c.cmake
Original file line number Diff line number Diff line change
@@ -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(TARGET WrapSystemMd4c::WrapSystemMd4c)
set(WrapSystemMd4c_FOUND TRUE)
return()
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemPCRE2.cmake
Original file line number Diff line number Diff line change
@@ -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(TARGET WrapSystemPCRE2::WrapSystemPCRE2)
set(WrapSystemPCRE2_FOUND TRUE)
return()
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemPNG.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapSystemPNG::WrapSystemPNG)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapSystemZLIB.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapSystemZLIB::WrapSystemZLIB)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapVulkan.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapVulkan::WrapVulkan)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapVulkanHeaders.cmake
Original file line number Diff line number Diff line change
@@ -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

# We can't create the same interface imported target multiple times, CMake will complain if we do
# that. This can happen if the find_package call is done in multiple different subdirectories.
if(TARGET WrapVulkanHeaders::WrapVulkanHeaders)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapZLIB.cmake
Original file line number Diff line number Diff line change
@@ -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

include(QtFindWrapHelper NO_POLICY_SCOPE)

qt_find_package_system_or_bundled(wrap_zlib
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindWrapZSTD.cmake
Original file line number Diff line number Diff line change
@@ -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

#.rst:
# FindZstd
# ---------
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindXKB_COMMON_X11.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

pkg_check_modules(XKB_COMMON_X11 "xkbcommon-x11>=0.4.1" IMPORTED_TARGET)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindXRender.cmake
Original file line number Diff line number Diff line change
@@ -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

find_package(PkgConfig QUIET)

if(NOT TARGET PkgConfig::XRender)
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtAndroidHelpers.cmake
Original file line number Diff line number Diff line change
@@ -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

#
# Android specific functions/macros/properties required for building Qt Modules
#
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtAppHelpers.cmake
Original file line number Diff line number Diff line change
@@ -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 function creates a CMake target for a Qt internal app.
# Such projects had a load(qt_app) command.
function(qt_internal_add_app target)
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtAutoDetect.cmake
Original file line number Diff line number Diff line change
@@ -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

#
# Collection of auto detection routines to improve the user experience when
# building Qt from source.
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtAutogenHelpers.cmake
Original file line number Diff line number Diff line change
@@ -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

# Initial autogen setup for a target to specify certain CMake properties which are common
# to all autogen tools. Also enable AUTOMOC by default.
function(qt_autogen_tools_initial_setup target)
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtBaseCMakeTesting.cmake
Original file line number Diff line number Diff line change
@@ -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

## Test the cmake build system:
option(BUILD_CMAKE_TESTING "Build tests for the Qt build system" OFF)
mark_as_advanced(BUILD_CMAKE_TESTING)
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtBaseConfigureTests.cmake
Original file line number Diff line number Diff line change
@@ -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

include(CheckCXXSourceCompiles)

function(qt_run_config_test_architecture)
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtBaseGlobalTargets.cmake
Original file line number Diff line number Diff line change
@@ -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(__GlobalConfig_path_suffix "${INSTALL_CMAKE_NAMESPACE}")
qt_path_join(__GlobalConfig_build_dir ${QT_CONFIG_BUILD_DIR} ${__GlobalConfig_path_suffix})
qt_path_join(__GlobalConfig_install_dir ${QT_CONFIG_INSTALL_DIR} ${__GlobalConfig_path_suffix})
Expand Down
3 changes: 3 additions & 0 deletions cmake/QtBuild.cmake
Original file line number Diff line number Diff line change
@@ -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

include(CMakePackageConfigHelpers)
include(QtSeparateDebugInfo)

Expand Down
3 changes: 3 additions & 0 deletions cmake/QtBuildInformation.cmake
Original file line number Diff line number Diff line change
@@ -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

function(qt_print_feature_summary)
if(QT_SUPERBUILD)
qt_internal_set_message_log_level(message_log_level)
Expand Down
Loading

0 comments on commit fb1b20e

Please sign in to comment.