Change the license of all CMakeLists.txt and *.cmake files to BSD
Task-number: QTBUG-105718 Change-Id: I5d3ef70a31235868b9be6cb479b7621bf2a8ba39 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
501dfe1bc7
commit
32df595275
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# special case skip regeneration
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#.rst:
|
||||
# FindDB2
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(CheckCXXSourceCompiles)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_GSSAPI QUIET krb5-gssapi)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#.rst:
|
||||
# FindInterbase
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Blake2 contains a reference implementation, libb2 is a more efficient
|
||||
# implementation of a subset of Blake2 functions and should be preferred.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#.rst:
|
||||
# FindMySQL
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#.rst:
|
||||
# FindOracle
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Find the PPS library
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 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
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#[=======================================================================[.rst:
|
||||
FindPostgreSQL
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Find the Slog2 library
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
if(TARGET WrapBacktrace::WrapBacktrace)
|
||||
set(WrapBacktrace_FOUND ON)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
if(TARGET WrapBrotli::WrapBrotliDec)
|
||||
set(WrapBrotli_FOUND ON)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# DBus1 is buggy and breaks PKG_CONFIG environment.
|
||||
# Work around that:-/
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
if(TARGET WrapSystemJpeg::WrapSystemJpeg)
|
||||
set(WrapSystemJpeg_FOUND TRUE)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
if(TARGET WrapSystemMd4c::WrapSystemMd4c)
|
||||
set(WrapSystemMd4c_FOUND TRUE)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
if(TARGET WrapSystemPCRE2::WrapSystemPCRE2)
|
||||
set(WrapSystemPCRE2_FOUND TRUE)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#.rst:
|
||||
# FindZstd
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#
|
||||
# Android specific functions/macros/properties required for building Qt Modules
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# This function creates a CMake target for a Qt internal app.
|
||||
# Such projects had a load(qt_app) command.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#
|
||||
# Collection of auto detection routines to improve the user experience when
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Initial autogen setup for a target to specify certain CMake properties which are common
|
||||
# to all autogen tools. Also enable AUTOMOC by default.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
## Test the cmake build system:
|
||||
option(BUILD_CMAKE_TESTING "Build tests for the Qt build system" OFF)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(CheckCXXSourceCompiles)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
set(__GlobalConfig_path_suffix "${INSTALL_CMAKE_NAMESPACE}")
|
||||
qt_path_join(__GlobalConfig_build_dir ${QT_CONFIG_BUILD_DIR} ${__GlobalConfig_path_suffix})
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
||||
include(QtSeparateDebugInfo)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_print_feature_summary)
|
||||
if(QT_SUPERBUILD)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# These values should be kept in sync with those in qtbase/.cmake.conf
|
||||
cmake_minimum_required(VERSION 3.16...3.20)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(qt_single_test VERSION 6.0.0 LANGUAGES C CXX ASM)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Includes QtSetup and friends for private CMake API.
|
||||
qt_build_internals_set_up_private_api()
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# qt_configure_file(OUTPUT output-file <INPUT input-file | CONTENT content>)
|
||||
# input-file is relative to ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Enable compiler warnings by default. All compilers except MSVC support -Wall -Wextra
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
if (MSVC)
|
||||
if (QT_64BIT)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# helper to set up a qdbusxml2cpp rule
|
||||
function(qt_create_qdbusxml2cpp_command target infile)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Defers the connection 'dependent' -> 'dependency'
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# This function adds a dependency between a doc-generating target like 'generate_docs_Gui'
|
||||
# and the necessary tool target like 'qdoc'.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtFeatureCommon)
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_feature_normalize_name name out_var)
|
||||
# Normalize the feature name to something CMake can deal with.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# This function recursively walks transitive link libraries of the given target
|
||||
# and promotes those targets to be IMPORTED_GLOBAL if they are not.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Creates an imported wrapper target that links against either a Qt bundled package
|
||||
# or a system package.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Finish a preliminary .pc file.
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Finish a preliminary .prl file.
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# This function generates LD version script for the target and uses it in the target linker line.
|
||||
# Function has two modes dependending on the specified arguments.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
macro(qt_find_apple_system_frameworks)
|
||||
if(APPLE)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Generate a qt_ext_XXX.pri file.
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Given "/usr/lib/x86_64-linux-gnu/libcups.so"
|
||||
# Returns "cups" or an empty string if the file is not an absolute library path.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Generate a qt_lib_XXX.pri file.
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_internal_clear_qt_repo_known_modules)
|
||||
set(QT_REPO_KNOWN_MODULES "" CACHE INTERNAL "Known current repo Qt modules" FORCE)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Add a custom ${module_target}_headersclean_check target that builds each header in
|
||||
# ${module_headers} with a custom set of defines. This makes sure our public headers
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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().
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
|
||||
function(qt_internal_set_warnings_are_errors_flags target target_scope)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# This function can be used to compile java sources into a jar package.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Match the pattern 'regex' in 'input_line', replace the match with 'replacement'
|
||||
# and set that result in 'out_var' in the parent scope.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
macro(qt_internal_get_internal_add_module_keywords option_args single_args multi_args)
|
||||
set(${option_args}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_create_nolink_target target dependee_target)
|
||||
if(NOT TARGET "${target}")
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_internal_collect_direct_target_dependencies target targets_out_var)
|
||||
__qt_internal_walk_libs("${target}" "${targets_out_var}" _rcc_objects
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#
|
||||
# Self contained Platform Settings for Android
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_set01 result)
|
||||
if (${ARGN})
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Defines the public Qt::Platform target, which serves as a dependency for all internal Qt target
|
||||
# as well as user projects consuming Qt.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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().
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(QtPostProcessHelpers)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_internal_write_depends_file target module_include_name)
|
||||
set(outfile "${QT_BUILD_DIR}/include/${module_include_name}/${module_include_name}Depends")
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(qt_update_precompiled_header target precompiled_header)
|
||||
if (precompiled_header AND BUILD_WITH_PCH)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Extracts the 3rdparty libraries for the module ${module_name}
|
||||
# and stores the information in cmake language in
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Collects the library dependencies of a target.
|
||||
# As well as rcc object file dependencies.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# This script reads Qt configure arguments from config.opt,
|
||||
# translates the arguments to CMake arguments and calls CMake.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
define_property(TARGET
|
||||
PROPERTY
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# 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.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
function(__qt_internal_get_supported_min_cmake_version_for_using_qt out_var)
|
||||
# This is recorded in Qt6ConfigExtras.cmake
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user