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>
This commit is contained in:
parent
15117f84bb
commit
fb1b20eab3
@ -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
|
# special case skip regeneration
|
||||||
|
|
||||||
# Need an explicit call at the top level. This is the absolute minimum version
|
# Need an explicit call at the top level. This is the absolute minimum version
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)
|
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
# Copyright (C) 2000-2022 Kitware, Inc. and Contributors.
|
||||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
# 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:
|
#[=======================================================================[.rst:
|
||||||
FindCups
|
FindCups
|
||||||
|
@ -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:
|
#.rst:
|
||||||
# FindDB2
|
# FindDB2
|
||||||
# ---------
|
# ---------
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(DirectFB directfb IMPORTED_TARGET)
|
pkg_check_modules(DirectFB directfb IMPORTED_TARGET)
|
||||||
|
@ -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)
|
include(CheckCXXSourceCompiles)
|
||||||
|
|
||||||
# No library linkage is necessary to use GLESv2 with Emscripten. The headers are also
|
# No library linkage is necessary to use GLESv2 with Emscripten. The headers are also
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
pkg_check_modules(PC_GSSAPI QUIET krb5-gssapi)
|
pkg_check_modules(PC_GSSAPI QUIET krb5-gssapi)
|
||||||
if (NOT PC_GSSAPI_FOUND)
|
if (NOT PC_GSSAPI_FOUND)
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
set(__gtk3_required_version "${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION}")
|
set(__gtk3_required_version "${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION}")
|
||||||
|
@ -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:
|
#.rst:
|
||||||
# FindInterbase
|
# FindInterbase
|
||||||
# ---------
|
# ---------
|
||||||
|
@ -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
|
# Blake2 contains a reference implementation, libb2 is a more efficient
|
||||||
# implementation of a subset of Blake2 functions and should be preferred.
|
# implementation of a subset of Blake2 functions and should be preferred.
|
||||||
# This Find module only searches for libb2 for that reason.
|
# This Find module only searches for libb2 for that reason.
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(Libproxy libproxy-1.0 IMPORTED_TARGET)
|
pkg_check_modules(Libproxy libproxy-1.0 IMPORTED_TARGET)
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(Libsystemd libsystemd IMPORTED_TARGET)
|
pkg_check_modules(Libsystemd libsystemd IMPORTED_TARGET)
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(Libudev libudev IMPORTED_TARGET)
|
pkg_check_modules(Libudev libudev IMPORTED_TARGET)
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)
|
pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)
|
||||||
|
@ -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:
|
#.rst:
|
||||||
# FindMySQL
|
# FindMySQL
|
||||||
# ---------
|
# ---------
|
||||||
|
@ -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:
|
#.rst:
|
||||||
# FindOracle
|
# FindOracle
|
||||||
# ---------
|
# ---------
|
||||||
|
@ -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
|
# Find the PPS library
|
||||||
|
|
||||||
# Will make the target PPS::PPS available when found.
|
# Will make the target PPS::PPS available when found.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
# Copyright (C) 2000-2022 Kitware, Inc. and Contributors.
|
||||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
# 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:
|
#[=======================================================================[.rst:
|
||||||
FindPostgreSQL
|
FindPostgreSQL
|
||||||
|
@ -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
|
# Find the Slog2 library
|
||||||
|
|
||||||
# Will make the target Slog2::Slog2 available when found.
|
# Will make the target Slog2::Slog2 available when found.
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(Tslib tslib IMPORTED_TARGET)
|
pkg_check_modules(Tslib tslib IMPORTED_TARGET)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapAtomic::WrapAtomic)
|
if(TARGET WrapAtomic::WrapAtomic)
|
||||||
|
@ -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)
|
if(TARGET WrapBacktrace::WrapBacktrace)
|
||||||
set(WrapBacktrace_FOUND ON)
|
set(WrapBacktrace_FOUND ON)
|
||||||
return()
|
return()
|
||||||
|
@ -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)
|
if(TARGET WrapBrotli::WrapBrotliDec)
|
||||||
set(WrapBrotli_FOUND ON)
|
set(WrapBrotli_FOUND ON)
|
||||||
return()
|
return()
|
||||||
|
@ -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.
|
# DBus1 is buggy and breaks PKG_CONFIG environment.
|
||||||
# Work around that:-/
|
# Work around that:-/
|
||||||
# See https://gitlab.freedesktop.org/dbus/dbus/issues/267 for more information
|
# See https://gitlab.freedesktop.org/dbus/dbus/issues/267 for more information
|
||||||
|
@ -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)
|
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||||
|
|
||||||
qt_find_package_system_or_bundled(wrap_freetype
|
qt_find_package_system_or_bundled(wrap_freetype
|
||||||
|
@ -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)
|
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||||
|
|
||||||
qt_find_package_system_or_bundled(wrap_harfbuzz
|
qt_find_package_system_or_bundled(wrap_harfbuzz
|
||||||
|
@ -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)
|
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||||
|
|
||||||
qt_find_package_system_or_bundled(wrap_jpeg
|
qt_find_package_system_or_bundled(wrap_jpeg
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapOpenGL::WrapOpenGL)
|
if(TARGET WrapOpenGL::WrapOpenGL)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapOpenSSL::WrapOpenSSL)
|
if(TARGET WrapOpenSSL::WrapOpenSSL)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapOpenSSLHeaders::WrapOpenSSLHeaders)
|
if(TARGET WrapOpenSSLHeaders::WrapOpenSSLHeaders)
|
||||||
|
@ -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)
|
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||||
|
|
||||||
qt_find_package_system_or_bundled(wrap_pcre2
|
qt_find_package_system_or_bundled(wrap_pcre2
|
||||||
|
@ -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)
|
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||||
|
|
||||||
qt_find_package_system_or_bundled(wrap_png
|
qt_find_package_system_or_bundled(wrap_png
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapRt::WrapRt)
|
if(TARGET WrapRt::WrapRt)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapSystemDoubleConversion::WrapSystemDoubleConversion)
|
if(TARGET WrapSystemDoubleConversion::WrapSystemDoubleConversion)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapSystemFreetype::WrapSystemFreetype)
|
if(TARGET WrapSystemFreetype::WrapSystemFreetype)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapSystemHarfbuzz::WrapSystemHarfbuzz)
|
if(TARGET WrapSystemHarfbuzz::WrapSystemHarfbuzz)
|
||||||
|
@ -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)
|
if(TARGET WrapSystemJpeg::WrapSystemJpeg)
|
||||||
set(WrapSystemJpeg_FOUND TRUE)
|
set(WrapSystemJpeg_FOUND TRUE)
|
||||||
return()
|
return()
|
||||||
|
@ -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)
|
if(TARGET WrapSystemMd4c::WrapSystemMd4c)
|
||||||
set(WrapSystemMd4c_FOUND TRUE)
|
set(WrapSystemMd4c_FOUND TRUE)
|
||||||
return()
|
return()
|
||||||
|
@ -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)
|
if(TARGET WrapSystemPCRE2::WrapSystemPCRE2)
|
||||||
set(WrapSystemPCRE2_FOUND TRUE)
|
set(WrapSystemPCRE2_FOUND TRUE)
|
||||||
return()
|
return()
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapSystemPNG::WrapSystemPNG)
|
if(TARGET WrapSystemPNG::WrapSystemPNG)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapSystemZLIB::WrapSystemZLIB)
|
if(TARGET WrapSystemZLIB::WrapSystemZLIB)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapVulkan::WrapVulkan)
|
if(TARGET WrapVulkan::WrapVulkan)
|
||||||
|
@ -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
|
# 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.
|
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
||||||
if(TARGET WrapVulkanHeaders::WrapVulkanHeaders)
|
if(TARGET WrapVulkanHeaders::WrapVulkanHeaders)
|
||||||
|
@ -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)
|
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||||
|
|
||||||
qt_find_package_system_or_bundled(wrap_zlib
|
qt_find_package_system_or_bundled(wrap_zlib
|
||||||
|
@ -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:
|
#.rst:
|
||||||
# FindZstd
|
# FindZstd
|
||||||
# ---------
|
# ---------
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
pkg_check_modules(XKB_COMMON_X11 "xkbcommon-x11>=0.4.1" IMPORTED_TARGET)
|
pkg_check_modules(XKB_COMMON_X11 "xkbcommon-x11>=0.4.1" IMPORTED_TARGET)
|
||||||
|
@ -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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|
||||||
if(NOT TARGET PkgConfig::XRender)
|
if(NOT TARGET PkgConfig::XRender)
|
||||||
|
@ -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
|
# Android specific functions/macros/properties required for building Qt Modules
|
||||||
#
|
#
|
||||||
|
@ -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.
|
# This function creates a CMake target for a Qt internal app.
|
||||||
# Such projects had a load(qt_app) command.
|
# Such projects had a load(qt_app) command.
|
||||||
function(qt_internal_add_app target)
|
function(qt_internal_add_app target)
|
||||||
|
@ -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
|
# Collection of auto detection routines to improve the user experience when
|
||||||
# building Qt from source.
|
# building Qt from source.
|
||||||
|
@ -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
|
# Initial autogen setup for a target to specify certain CMake properties which are common
|
||||||
# to all autogen tools. Also enable AUTOMOC by default.
|
# to all autogen tools. Also enable AUTOMOC by default.
|
||||||
function(qt_autogen_tools_initial_setup target)
|
function(qt_autogen_tools_initial_setup target)
|
||||||
|
@ -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:
|
## Test the cmake build system:
|
||||||
option(BUILD_CMAKE_TESTING "Build tests for the Qt build system" OFF)
|
option(BUILD_CMAKE_TESTING "Build tests for the Qt build system" OFF)
|
||||||
mark_as_advanced(BUILD_CMAKE_TESTING)
|
mark_as_advanced(BUILD_CMAKE_TESTING)
|
||||||
|
@ -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)
|
include(CheckCXXSourceCompiles)
|
||||||
|
|
||||||
function(qt_run_config_test_architecture)
|
function(qt_run_config_test_architecture)
|
||||||
|
@ -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}")
|
set(__GlobalConfig_path_suffix "${INSTALL_CMAKE_NAMESPACE}")
|
||||||
qt_path_join(__GlobalConfig_build_dir ${QT_CONFIG_BUILD_DIR} ${__GlobalConfig_path_suffix})
|
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})
|
qt_path_join(__GlobalConfig_install_dir ${QT_CONFIG_INSTALL_DIR} ${__GlobalConfig_path_suffix})
|
||||||
|
@ -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(CMakePackageConfigHelpers)
|
||||||
include(QtSeparateDebugInfo)
|
include(QtSeparateDebugInfo)
|
||||||
|
|
||||||
|
@ -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)
|
function(qt_print_feature_summary)
|
||||||
if(QT_SUPERBUILD)
|
if(QT_SUPERBUILD)
|
||||||
qt_internal_set_message_log_level(message_log_level)
|
qt_internal_set_message_log_level(message_log_level)
|
||||||
|
@ -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
|
||||||
|
|
||||||
# These values should be kept in sync with those in qtbase/.cmake.conf
|
# These values should be kept in sync with those in qtbase/.cmake.conf
|
||||||
cmake_minimum_required(VERSION 3.16...3.20)
|
cmake_minimum_required(VERSION 3.16...3.20)
|
||||||
|
|
||||||
|
@ -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)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(qt_single_test VERSION 6.0.0 LANGUAGES C CXX ASM)
|
project(qt_single_test VERSION 6.0.0 LANGUAGES C CXX ASM)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Includes QtSetup and friends for private CMake API.
|
# Includes QtSetup and friends for private CMake API.
|
||||||
qt_build_internals_set_up_private_api()
|
qt_build_internals_set_up_private_api()
|
||||||
|
|
||||||
|
@ -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_configure_file(OUTPUT output-file <INPUT input-file | CONTENT content>)
|
# qt_configure_file(OUTPUT output-file <INPUT input-file | CONTENT content>)
|
||||||
# input-file is relative to ${CMAKE_CURRENT_SOURCE_DIR}
|
# input-file is relative to ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
# output-file is relative to ${CMAKE_CURRENT_BINARY_DIR}
|
# output-file is relative to ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Returns the minimum supported CMake version required to /build/ Qt as originally advertised by Qt.
|
# Returns the minimum supported CMake version required to /build/ Qt as originally advertised by Qt.
|
||||||
function(qt_internal_get_supported_min_cmake_version_for_building_qt out_var)
|
function(qt_internal_get_supported_min_cmake_version_for_building_qt out_var)
|
||||||
if(NOT DEFINED BUILD_SHARED_LIBS)
|
if(NOT DEFINED BUILD_SHARED_LIBS)
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Enable compiler warnings by default. All compilers except MSVC support -Wall -Wextra
|
# Enable compiler warnings by default. All compilers except MSVC support -Wall -Wextra
|
||||||
#
|
#
|
||||||
# You can disable the warnings for specific targets (for instance containing 3rd party code)
|
# You can disable the warnings for specific targets (for instance containing 3rd party code)
|
||||||
|
@ -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 (MSVC)
|
if (MSVC)
|
||||||
if (QT_64BIT)
|
if (QT_64BIT)
|
||||||
# SSE2 is mandatory on 64-bit mode, so skip the option. It triggers:
|
# SSE2 is mandatory on 64-bit mode, so skip the option. It triggers:
|
||||||
|
@ -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
|
||||||
|
|
||||||
# copy_if_different works incorrect in Windows if file size if bigger than 2GB.
|
# copy_if_different works incorrect in Windows if file size if bigger than 2GB.
|
||||||
# See https://gitlab.kitware.com/cmake/cmake/-/issues/23052 and QTBUG-99491 for details.
|
# See https://gitlab.kitware.com/cmake/cmake/-/issues/23052 and QTBUG-99491 for details.
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
# helper to set up a qdbusxml2cpp rule
|
# helper to set up a qdbusxml2cpp rule
|
||||||
function(qt_create_qdbusxml2cpp_command target infile)
|
function(qt_create_qdbusxml2cpp_command target infile)
|
||||||
qt_parse_all_arguments(arg "qt_create_qdbusxml2cpp_command" "ADAPTOR;INTERFACE" "BASENAME" "FLAGS" ${ARGN})
|
qt_parse_all_arguments(arg "qt_create_qdbusxml2cpp_command" "ADAPTOR;INTERFACE" "BASENAME" "FLAGS" ${ARGN})
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Defers the connection 'dependent' -> 'dependency'
|
# Defers the connection 'dependent' -> 'dependency'
|
||||||
#
|
#
|
||||||
# The actual connection can be made by calling qt_internal_add_deferred_dependencies.
|
# The actual connection can be made by calling qt_internal_add_deferred_dependencies.
|
||||||
|
@ -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 adds a dependency between a doc-generating target like 'generate_docs_Gui'
|
# This function adds a dependency between a doc-generating target like 'generate_docs_Gui'
|
||||||
# and the necessary tool target like 'qdoc'.
|
# and the necessary tool target like 'qdoc'.
|
||||||
#
|
#
|
||||||
|
@ -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 generic console or GUI binary.
|
# This function creates a CMake target for a generic console or GUI binary.
|
||||||
# Please consider to use a more specific version target like the one created
|
# Please consider to use a more specific version target like the one created
|
||||||
# by qt_add_test or qt_add_tool below.
|
# by qt_add_test or qt_add_tool below.
|
||||||
|
@ -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(QtFeatureCommon)
|
include(QtFeatureCommon)
|
||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
|
|
||||||
|
@ -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_feature_normalize_name name out_var)
|
function(qt_feature_normalize_name name out_var)
|
||||||
# Normalize the feature name to something CMake can deal with.
|
# Normalize the feature name to something CMake can deal with.
|
||||||
if(name MATCHES "c\\+\\+")
|
if(name MATCHES "c\\+\\+")
|
||||||
|
@ -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 recursively walks transitive link libraries of the given target
|
# This function recursively walks transitive link libraries of the given target
|
||||||
# and promotes those targets to be IMPORTED_GLOBAL if they are not.
|
# and promotes those targets to be IMPORTED_GLOBAL if they are not.
|
||||||
#
|
#
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Creates an imported wrapper target that links against either a Qt bundled package
|
# Creates an imported wrapper target that links against either a Qt bundled package
|
||||||
# or a system package.
|
# or a system package.
|
||||||
#
|
#
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Finish a preliminary .pc file.
|
# Finish a preliminary .pc file.
|
||||||
#
|
#
|
||||||
# - Appends to each requirement the proper configuration postfix.
|
# - Appends to each requirement the proper configuration postfix.
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Finish a preliminary .prl file.
|
# Finish a preliminary .prl file.
|
||||||
#
|
#
|
||||||
# - Replaces occurrences of the build libdir with $$[QT_INSTALL_LIBDIR].
|
# - Replaces occurrences of the build libdir with $$[QT_INSTALL_LIBDIR].
|
||||||
|
@ -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_internal_add_linker_version_script target)
|
function(qt_internal_add_linker_version_script target)
|
||||||
qt_parse_all_arguments(arg "qt_internal_add_linker" "" "" "PRIVATE_HEADERS" ${ARGN})
|
qt_parse_all_arguments(arg "qt_internal_add_linker" "" "" "PRIVATE_HEADERS" ${ARGN})
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
macro(qt_find_apple_system_frameworks)
|
macro(qt_find_apple_system_frameworks)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
qt_internal_find_apple_system_framework(FWAppKit AppKit)
|
qt_internal_find_apple_system_framework(FWAppKit AppKit)
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Generate a qt_ext_XXX.pri file.
|
# Generate a qt_ext_XXX.pri file.
|
||||||
#
|
#
|
||||||
# - Replaces occurrences of the build libdir with $$[QT_INSTALL_LIBDIR/get].
|
# - Replaces occurrences of the build libdir with $$[QT_INSTALL_LIBDIR/get].
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Given "/usr/lib/x86_64-linux-gnu/libcups.so"
|
# Given "/usr/lib/x86_64-linux-gnu/libcups.so"
|
||||||
# Returns "cups" or an empty string if the file is not an absolute library path.
|
# Returns "cups" or an empty string if the file is not an absolute library path.
|
||||||
# Aka it strips the "lib" prefix, the .so extension and the base path.
|
# Aka it strips the "lib" prefix, the .so extension and the base path.
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Generate a qt_lib_XXX.pri file.
|
# Generate a qt_lib_XXX.pri file.
|
||||||
#
|
#
|
||||||
# This file is to be used in CMake script mode with the following variables set:
|
# This file is to be used in CMake script mode with the following variables set:
|
||||||
|
@ -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_internal_clear_qt_repo_known_modules)
|
function(qt_internal_clear_qt_repo_known_modules)
|
||||||
set(QT_REPO_KNOWN_MODULES "" CACHE INTERNAL "Known current repo Qt modules" FORCE)
|
set(QT_REPO_KNOWN_MODULES "" CACHE INTERNAL "Known current repo Qt modules" FORCE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Add a custom ${module_include_name}_header_check target that builds each header in
|
# Add a custom ${module_include_name}_header_check target that builds each header in
|
||||||
# ${module_headers} with a custom set of defines. This makes sure our public headers
|
# ${module_headers} with a custom set of defines. This makes sure our public headers
|
||||||
# are self-contained, and also compile with more strict compiler options.
|
# are self-contained, and also compile with more strict compiler options.
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Wraps install() command. In a prefix build, simply passes along arguments to install().
|
# Wraps install() command. In a prefix build, simply passes along arguments to install().
|
||||||
# In a non-prefix build, handles association of targets to export names, and also calls export().
|
# In a non-prefix build, handles association of targets to export names, and also calls export().
|
||||||
function(qt_install)
|
function(qt_install)
|
||||||
|
@ -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_internal_set_warnings_are_errors_flags target target_scope)
|
function(qt_internal_set_warnings_are_errors_flags target target_scope)
|
||||||
set(flags "")
|
set(flags "")
|
||||||
|
@ -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 can be used to compile java sources into a jar package.
|
# This function can be used to compile java sources into a jar package.
|
||||||
|
|
||||||
function(qt_internal_add_jar target)
|
function(qt_internal_add_jar target)
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Match the pattern 'regex' in 'input_line', replace the match with 'replacement'
|
# Match the pattern 'regex' in 'input_line', replace the match with 'replacement'
|
||||||
# and set that result in 'out_var' in the parent scope.
|
# and set that result in 'out_var' in the parent scope.
|
||||||
function(qt_regex_match_and_get input_line regex replacement out_var)
|
function(qt_regex_match_and_get input_line regex replacement out_var)
|
||||||
|
@ -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
|
||||||
|
|
||||||
macro(qt_internal_get_internal_add_module_keywords option_args single_args multi_args)
|
macro(qt_internal_get_internal_add_module_keywords option_args single_args multi_args)
|
||||||
set(${option_args}
|
set(${option_args}
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -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_create_nolink_target target dependee_target)
|
function(qt_create_nolink_target target dependee_target)
|
||||||
if(NOT TARGET "${target}")
|
if(NOT TARGET "${target}")
|
||||||
message(FATAL_ERROR "${target} does not exist when trying to build a nolink target.")
|
message(FATAL_ERROR "${target} does not exist when trying to build a nolink target.")
|
||||||
|
@ -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_internal_collect_direct_target_dependencies target targets_out_var)
|
function(qt_internal_collect_direct_target_dependencies target targets_out_var)
|
||||||
__qt_internal_walk_libs("${target}" "${targets_out_var}" _rcc_objects
|
__qt_internal_walk_libs("${target}" "${targets_out_var}" _rcc_objects
|
||||||
"qt_direct_targets_dict" "direct_targets")
|
"qt_direct_targets_dict" "direct_targets")
|
||||||
|
@ -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
|
||||||
|
|
||||||
#
|
#
|
||||||
# Self contained Platform Settings for Android
|
# Self contained Platform Settings for Android
|
||||||
#
|
#
|
||||||
|
@ -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_set01 result)
|
function(qt_set01 result)
|
||||||
if (${ARGN})
|
if (${ARGN})
|
||||||
set("${result}" 1 PARENT_SCOPE)
|
set("${result}" 1 PARENT_SCOPE)
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Defines the public Qt::Platform target, which serves as a dependency for all internal Qt target
|
# Defines the public Qt::Platform target, which serves as a dependency for all internal Qt target
|
||||||
# as well as user projects consuming Qt.
|
# as well as user projects consuming Qt.
|
||||||
function(qt_internal_setup_public_platform_target)
|
function(qt_internal_setup_public_platform_target)
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Note that these are only the keywords that are unique to qt_internal_add_plugin().
|
# Note that these are only the keywords that are unique to qt_internal_add_plugin().
|
||||||
# That function also supports the keywords defined by _qt_internal_get_add_plugin_keywords().
|
# That function also supports the keywords defined by _qt_internal_get_add_plugin_keywords().
|
||||||
macro(qt_internal_get_internal_add_plugin_keywords option_args single_args multi_args)
|
macro(qt_internal_get_internal_add_plugin_keywords option_args single_args multi_args)
|
||||||
|
@ -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(QtPostProcessHelpers)
|
include(QtPostProcessHelpers)
|
||||||
|
|
||||||
qt_internal_create_depends_files()
|
qt_internal_create_depends_files()
|
||||||
|
@ -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_internal_write_depends_file target module_include_name)
|
function(qt_internal_write_depends_file target module_include_name)
|
||||||
set(outfile "${QT_BUILD_DIR}/include/${module_include_name}/${module_include_name}Depends")
|
set(outfile "${QT_BUILD_DIR}/include/${module_include_name}/${module_include_name}Depends")
|
||||||
set(contents "/* This file was generated by cmake with the info from ${target} target. */\n")
|
set(contents "/* This file was generated by cmake with the info from ${target} target. */\n")
|
||||||
|
@ -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_update_precompiled_header target precompiled_header)
|
function(qt_update_precompiled_header target precompiled_header)
|
||||||
if (precompiled_header AND BUILD_WITH_PCH)
|
if (precompiled_header AND BUILD_WITH_PCH)
|
||||||
set_property(TARGET "${target}" APPEND PROPERTY "PRECOMPILE_HEADERS" "$<$<OR:$<COMPILE_LANGUAGE:CXX>,$<COMPILE_LANGUAGE:OBJCXX>>:${precompiled_header}>")
|
set_property(TARGET "${target}" APPEND PROPERTY "PRECOMPILE_HEADERS" "$<$<OR:$<COMPILE_LANGUAGE:CXX>,$<COMPILE_LANGUAGE:OBJCXX>>:${precompiled_header}>")
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Extracts the 3rdparty libraries for the module ${module_name}
|
# Extracts the 3rdparty libraries for the module ${module_name}
|
||||||
# and stores the information in cmake language in
|
# and stores the information in cmake language in
|
||||||
# ${output_root_dir}/$<CONFIG>/${output_file_name}.
|
# ${output_root_dir}/$<CONFIG>/${output_file_name}.
|
||||||
|
@ -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
|
||||||
|
|
||||||
# Collects the library dependencies of a target.
|
# Collects the library dependencies of a target.
|
||||||
# As well as rcc object file dependencies.
|
# As well as rcc object file dependencies.
|
||||||
# This takes into account transitive usage requirements.
|
# This takes into account transitive usage requirements.
|
||||||
|
@ -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 script reads Qt configure arguments from config.opt,
|
# This script reads Qt configure arguments from config.opt,
|
||||||
# translates the arguments to CMake arguments and calls CMake.
|
# translates the arguments to CMake arguments and calls 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
|
||||||
|
|
||||||
define_property(TARGET
|
define_property(TARGET
|
||||||
PROPERTY
|
PROPERTY
|
||||||
QT_PLUGINS
|
QT_PLUGINS
|
||||||
|
@ -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
|
||||||
|
|
||||||
# copy_if_different works incorrect in Windows if file size if bigger than 2GB.
|
# copy_if_different works incorrect in Windows if file size if bigger than 2GB.
|
||||||
# See https://gitlab.kitware.com/cmake/cmake/-/issues/23052 and QTBUG-99491 for details.
|
# See https://gitlab.kitware.com/cmake/cmake/-/issues/23052 and QTBUG-99491 for details.
|
||||||
function(_qt_internal_copy_file_if_different_command out_var src_file dst_file)
|
function(_qt_internal_copy_file_if_different_command out_var src_file dst_file)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user