Rid of 'special case' markers
It's unlikely we will ever use pro2cmake at this project stage, so it doesn't make any sense to keep the 'special case' markers in the CMake scripts. Remove them and replace with TODO where needed. Change-Id: I84290c20679dabbfdec3c5937ce0428fecb3e5a7 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
06499383ca
commit
4fb7eebc70
@ -1,8 +1,6 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
# 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
|
||||||
# needed to configure the project with any combination of enabled features.
|
# needed to configure the project with any combination of enabled features.
|
||||||
# The call to qt_build_repo_begin() will upgrade policies further.
|
# The call to qt_build_repo_begin() will upgrade policies further.
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
# special case skip regeneration
|
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(objcopytest LANGUAGES CXX)
|
project(objcopytest LANGUAGES CXX)
|
||||||
add_executable(objcopytest main.cpp)
|
add_executable(objcopytest main.cpp)
|
||||||
|
@ -105,7 +105,6 @@ SSL_free(SSL_new(0));
|
|||||||
}
|
}
|
||||||
")
|
")
|
||||||
|
|
||||||
# special case end
|
|
||||||
qt_find_package(WrapZSTD 1.3 PROVIDED_TARGETS WrapZSTD::WrapZSTD MODULE_NAME global QMAKE_LIB zstd)
|
qt_find_package(WrapZSTD 1.3 PROVIDED_TARGETS WrapZSTD::WrapZSTD MODULE_NAME global QMAKE_LIB zstd)
|
||||||
qt_find_package(WrapDBus1 1.2 PROVIDED_TARGETS dbus-1 MODULE_NAME global QMAKE_LIB dbus)
|
qt_find_package(WrapDBus1 1.2 PROVIDED_TARGETS dbus-1 MODULE_NAME global QMAKE_LIB dbus)
|
||||||
qt_find_package(Libudev PROVIDED_TARGETS PkgConfig::Libudev MODULE_NAME global QMAKE_LIB libudev)
|
qt_find_package(Libudev PROVIDED_TARGETS PkgConfig::Libudev MODULE_NAME global QMAKE_LIB libudev)
|
||||||
@ -465,7 +464,6 @@ qt_feature("optimize_size"
|
|||||||
CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release
|
CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release
|
||||||
)
|
)
|
||||||
qt_feature_config("optimize_size" QMAKE_PRIVATE_CONFIG)
|
qt_feature_config("optimize_size" QMAKE_PRIVATE_CONFIG)
|
||||||
# special case begin
|
|
||||||
qt_feature("optimize_full"
|
qt_feature("optimize_full"
|
||||||
LABEL "Fully optimize release builds (-O3)"
|
LABEL "Fully optimize release builds (-O3)"
|
||||||
AUTODETECT OFF
|
AUTODETECT OFF
|
||||||
@ -477,7 +475,6 @@ qt_feature("msvc_obj_debug_info"
|
|||||||
AUTODETECT OFF
|
AUTODETECT OFF
|
||||||
)
|
)
|
||||||
qt_feature_config("msvc_obj_debug_info" QMAKE_PRIVATE_CONFIG)
|
qt_feature_config("msvc_obj_debug_info" QMAKE_PRIVATE_CONFIG)
|
||||||
# special case end
|
|
||||||
qt_feature("pkg-config" PUBLIC
|
qt_feature("pkg-config" PUBLIC
|
||||||
LABEL "Using pkg-config"
|
LABEL "Using pkg-config"
|
||||||
AUTODETECT NOT APPLE AND NOT WIN32 AND NOT ANDROID
|
AUTODETECT NOT APPLE AND NOT WIN32 AND NOT ANDROID
|
||||||
@ -838,7 +835,9 @@ qt_feature_definition("mips_dspr2" "QT_COMPILER_SUPPORTS_MIPS_DSPR2" VALUE "1")
|
|||||||
qt_feature_config("mips_dspr2" QMAKE_PRIVATE_CONFIG)
|
qt_feature_config("mips_dspr2" QMAKE_PRIVATE_CONFIG)
|
||||||
qt_feature("neon" PRIVATE
|
qt_feature("neon" PRIVATE
|
||||||
LABEL "NEON"
|
LABEL "NEON"
|
||||||
CONDITION ( ( ( TEST_architecture_arch STREQUAL arm ) OR ( TEST_architecture_arch STREQUAL arm64 ) ) AND TEST_arch_${TEST_architecture_arch}_subarch_neon ) OR QT_FORCE_FEATURE_neon # special case
|
CONDITION ( ( ( TEST_architecture_arch STREQUAL arm ) OR
|
||||||
|
( TEST_architecture_arch STREQUAL arm64 ) ) AND
|
||||||
|
TEST_arch_${TEST_architecture_arch}_subarch_neon ) OR QT_FORCE_FEATURE_neon
|
||||||
)
|
)
|
||||||
qt_feature_definition("neon" "QT_COMPILER_SUPPORTS_NEON" VALUE "1")
|
qt_feature_definition("neon" "QT_COMPILER_SUPPORTS_NEON" VALUE "1")
|
||||||
qt_feature_config("neon" QMAKE_PRIVATE_CONFIG)
|
qt_feature_config("neon" QMAKE_PRIVATE_CONFIG)
|
||||||
@ -904,7 +903,6 @@ qt_feature("stdlib-libcpp" PRIVATE
|
|||||||
AUTODETECT OFF
|
AUTODETECT OFF
|
||||||
CONDITION LINUX AND NOT ANDROID
|
CONDITION LINUX AND NOT ANDROID
|
||||||
)
|
)
|
||||||
# special case begin
|
|
||||||
# Check whether CMake was built with zstd support.
|
# Check whether CMake was built with zstd support.
|
||||||
# See https://gitlab.kitware.com/cmake/cmake/-/issues/21552
|
# See https://gitlab.kitware.com/cmake/cmake/-/issues/21552
|
||||||
if(NOT DEFINED CACHE{QT_CMAKE_ZSTD_SUPPORT})
|
if(NOT DEFINED CACHE{QT_CMAKE_ZSTD_SUPPORT})
|
||||||
@ -921,7 +919,6 @@ if(NOT DEFINED CACHE{QT_CMAKE_ZSTD_SUPPORT})
|
|||||||
unset(qt_check_zstd_exit_code)
|
unset(qt_check_zstd_exit_code)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
# special case end
|
|
||||||
qt_feature("thread" PUBLIC
|
qt_feature("thread" PUBLIC
|
||||||
SECTION "Kernel"
|
SECTION "Kernel"
|
||||||
LABEL "Thread support"
|
LABEL "Thread support"
|
||||||
@ -1061,11 +1058,9 @@ qt_configure_add_summary_entry(
|
|||||||
ARGS "optimize_size"
|
ARGS "optimize_size"
|
||||||
CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release
|
CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release
|
||||||
)
|
)
|
||||||
# special case begin
|
|
||||||
qt_configure_add_summary_entry(
|
qt_configure_add_summary_entry(
|
||||||
ARGS "optimize_full"
|
ARGS "optimize_full"
|
||||||
)
|
)
|
||||||
# special case end
|
|
||||||
qt_configure_add_summary_entry(ARGS "shared")
|
qt_configure_add_summary_entry(ARGS "shared")
|
||||||
qt_configure_add_summary_entry(
|
qt_configure_add_summary_entry(
|
||||||
ARGS "ccache"
|
ARGS "ccache"
|
||||||
@ -1161,13 +1156,6 @@ qt_configure_add_report_entry(
|
|||||||
MESSAGE "Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library."
|
MESSAGE "Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library."
|
||||||
CONDITION NOT QT_FEATURE_shared
|
CONDITION NOT QT_FEATURE_shared
|
||||||
)
|
)
|
||||||
# special case begin
|
|
||||||
# qt_configure_add_report_entry(
|
|
||||||
# TYPE ERROR
|
|
||||||
# MESSAGE "Debug build without Release build is not currently supported on ios see QTBUG-71990. Use -debug-and-release."
|
|
||||||
# CONDITION IOS AND QT_FEATURE_debug AND NOT QT_FEATURE_debug_and_release
|
|
||||||
# )
|
|
||||||
# special case end
|
|
||||||
qt_configure_add_report_entry(
|
qt_configure_add_report_entry(
|
||||||
TYPE WARNING
|
TYPE WARNING
|
||||||
MESSAGE "-debug-and-release is only supported on Darwin and Windows platforms. Qt can be built in release mode with separate debug information, so -debug-and-release is no longer necessary."
|
MESSAGE "-debug-and-release is only supported on Darwin and Windows platforms. Qt can be built in release mode with separate debug information, so -debug-and-release is no longer necessary."
|
||||||
@ -1223,7 +1211,6 @@ ${TEST_x86intrin_OUTPUT}
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
# special case begin
|
|
||||||
qt_configure_add_report_entry(
|
qt_configure_add_report_entry(
|
||||||
TYPE ERROR
|
TYPE ERROR
|
||||||
MESSAGE "Setting a library infix is not supported for framework builds."
|
MESSAGE "Setting a library infix is not supported for framework builds."
|
||||||
@ -1242,7 +1229,6 @@ qt_configure_add_report_entry(
|
|||||||
if(WASM)
|
if(WASM)
|
||||||
qt_extra_definition("QT_EMCC_VERSION" "\"${EMCC_VERSION}\"" PUBLIC)
|
qt_extra_definition("QT_EMCC_VERSION" "\"${EMCC_VERSION}\"" PUBLIC)
|
||||||
endif()
|
endif()
|
||||||
# special case end
|
|
||||||
qt_extra_definition("QT_VERSION_STR" "\"${PROJECT_VERSION}\"" PUBLIC)
|
qt_extra_definition("QT_VERSION_STR" "\"${PROJECT_VERSION}\"" PUBLIC)
|
||||||
qt_extra_definition("QT_VERSION_MAJOR" ${PROJECT_VERSION_MAJOR} PUBLIC)
|
qt_extra_definition("QT_VERSION_MAJOR" ${PROJECT_VERSION_MAJOR} PUBLIC)
|
||||||
qt_extra_definition("QT_VERSION_MINOR" ${PROJECT_VERSION_MINOR} PUBLIC)
|
qt_extra_definition("QT_VERSION_MINOR" ${PROJECT_VERSION_MINOR} PUBLIC)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
# special case skip regeneration
|
|
||||||
#
|
#
|
||||||
# Copy/Install doc configuration files to the build/install directory
|
# Copy/Install doc configuration files to the build/install directory
|
||||||
#
|
#
|
||||||
|
@ -55,7 +55,7 @@ endif()
|
|||||||
|
|
||||||
qt_get_tool_target_name(target_name qmake)
|
qt_get_tool_target_name(target_name qmake)
|
||||||
qt_internal_add_tool(${target_name}
|
qt_internal_add_tool(${target_name}
|
||||||
TOOLS_TARGET Core # special case
|
TOOLS_TARGET Core
|
||||||
USER_FACING
|
USER_FACING
|
||||||
NO_UNITY_BUILD
|
NO_UNITY_BUILD
|
||||||
INSTALL_VERSIONED_LINK
|
INSTALL_VERSIONED_LINK
|
||||||
@ -118,7 +118,6 @@ qt_internal_extend_target(${target_name} CONDITION MACOS
|
|||||||
"-fconstant-cfstrings"
|
"-fconstant-cfstrings"
|
||||||
)
|
)
|
||||||
|
|
||||||
# special case big
|
|
||||||
qt_internal_extend_target(${target_name} CONDITION WIN32
|
qt_internal_extend_target(${target_name} CONDITION WIN32
|
||||||
SOURCES
|
SOURCES
|
||||||
library/registry.cpp
|
library/registry.cpp
|
||||||
@ -132,18 +131,15 @@ qt_internal_extend_target(${target_name} CONDITION CLANG AND WIN32
|
|||||||
"-Wno-microsoft-enum-value"
|
"-Wno-microsoft-enum-value"
|
||||||
)
|
)
|
||||||
|
|
||||||
# special case:
|
|
||||||
set_target_properties(${target_name} PROPERTIES
|
set_target_properties(${target_name} PROPERTIES
|
||||||
AUTOMOC OFF
|
AUTOMOC OFF
|
||||||
AUTORCC OFF
|
AUTORCC OFF
|
||||||
AUTOUIC OFF
|
AUTOUIC OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_internal_apply_gc_binaries(${target_name} PRIVATE) # special case
|
qt_internal_apply_gc_binaries(${target_name} PRIVATE)
|
||||||
qt_skip_warnings_are_errors(${target_name}) # special case
|
qt_skip_warnings_are_errors(${target_name})
|
||||||
|
|
||||||
# special case begin
|
|
||||||
qt_internal_add_docs(${target_name}
|
qt_internal_add_docs(${target_name}
|
||||||
doc/qmake.qdocconf
|
doc/qmake.qdocconf
|
||||||
)
|
)
|
||||||
# special case end
|
|
||||||
|
@ -74,16 +74,14 @@ qt_commandline_option(openssl-runtime TYPE void NAME openssl VALUE runtime)
|
|||||||
qt_commandline_option(linker TYPE optionalString VALUES bfd gold lld mold)
|
qt_commandline_option(linker TYPE optionalString VALUES bfd gold lld mold)
|
||||||
qt_commandline_option(ltcg TYPE boolean)
|
qt_commandline_option(ltcg TYPE boolean)
|
||||||
qt_commandline_option(intelcet TYPE boolean)
|
qt_commandline_option(intelcet TYPE boolean)
|
||||||
# special case begin
|
|
||||||
qt_commandline_option(make TYPE addString VALUES examples libs tests tools
|
qt_commandline_option(make TYPE addString VALUES examples libs tests tools
|
||||||
benchmarks manual-tests minimal-static-tests)
|
benchmarks manual-tests minimal-static-tests)
|
||||||
# special case end
|
|
||||||
qt_commandline_option(make-tool TYPE string)
|
qt_commandline_option(make-tool TYPE string)
|
||||||
qt_commandline_option(mips_dsp TYPE boolean)
|
qt_commandline_option(mips_dsp TYPE boolean)
|
||||||
qt_commandline_option(mips_dspr2 TYPE boolean)
|
qt_commandline_option(mips_dspr2 TYPE boolean)
|
||||||
qt_commandline_option(mp TYPE boolean NAME msvc_mp)
|
qt_commandline_option(mp TYPE boolean NAME msvc_mp)
|
||||||
qt_commandline_option(nomake TYPE addString VALUES examples tests tools benchmarks
|
qt_commandline_option(nomake TYPE addString VALUES examples tests tools benchmarks
|
||||||
manual-tests minimal-static-tests) # special case
|
manual-tests minimal-static-tests)
|
||||||
qt_commandline_option(opensource TYPE void NAME commercial VALUE no)
|
qt_commandline_option(opensource TYPE void NAME commercial VALUE no)
|
||||||
qt_commandline_option(optimize-debug TYPE boolean NAME optimize_debug)
|
qt_commandline_option(optimize-debug TYPE boolean NAME optimize_debug)
|
||||||
qt_commandline_option(optimize-size TYPE boolean NAME optimize_size)
|
qt_commandline_option(optimize-size TYPE boolean NAME optimize_size)
|
||||||
|
@ -1306,10 +1306,11 @@ qt_internal_extend_target(Core CONDITION QT_FEATURE_ctf AND QT_FEATURE_library
|
|||||||
tracing
|
tracing
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# These files are included by qmutex.cpp
|
||||||
set_source_files_properties(
|
set_source_files_properties(
|
||||||
thread/qmutex_mac.cpp
|
thread/qmutex_mac.cpp
|
||||||
thread/qmutex_unix.cpp
|
thread/qmutex_unix.cpp
|
||||||
PROPERTIES HEADER_FILE_ONLY ON) # special case: These files are included by qmutex.cpp!
|
PROPERTIES HEADER_FILE_ONLY ON)
|
||||||
|
|
||||||
# Remove QT_NO_CAST_TO_ASCII to ensure that the symbols are included in the library.
|
# Remove QT_NO_CAST_TO_ASCII to ensure that the symbols are included in the library.
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
@ -125,7 +125,6 @@ int pipes[2];
|
|||||||
}
|
}
|
||||||
")
|
")
|
||||||
|
|
||||||
# special case begin
|
|
||||||
# cxx11_future
|
# cxx11_future
|
||||||
if (UNIX AND NOT ANDROID AND NOT QNX AND NOT INTEGRITY)
|
if (UNIX AND NOT ANDROID AND NOT QNX AND NOT INTEGRITY)
|
||||||
set(cxx11_future_TEST_LIBRARIES pthread)
|
set(cxx11_future_TEST_LIBRARIES pthread)
|
||||||
@ -146,7 +145,6 @@ std::future<int> f = std::async([]() { return 42; });
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
")
|
")
|
||||||
# special case end
|
|
||||||
|
|
||||||
# cxx11_random
|
# cxx11_random
|
||||||
qt_config_compile_test(cxx11_random
|
qt_config_compile_test(cxx11_random
|
||||||
|
@ -52,8 +52,9 @@ qt_internal_add_module(DBus
|
|||||||
GENERATE_CPP_EXPORTS
|
GENERATE_CPP_EXPORTS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# This file is included by qdbusargument.cpp
|
||||||
set_source_files_properties(qdbusmarshaller.cpp
|
set_source_files_properties(qdbusmarshaller.cpp
|
||||||
PROPERTIES HEADER_FILE_ONLY ON) # special case: This file is included by qdbusargument.cpp
|
PROPERTIES HEADER_FILE_ONLY ON)
|
||||||
|
|
||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
@ -28,7 +28,8 @@ set_property(CACHE INPUT_libpng PROPERTY STRINGS undefined no qt system)
|
|||||||
|
|
||||||
|
|
||||||
#### Libraries
|
#### Libraries
|
||||||
qt_set01(X11_SUPPORTED LINUX OR HPUX OR FREEBSD OR NETBSD OR OPENBSD OR SOLARIS OR HURD) # special case
|
qt_set01(X11_SUPPORTED LINUX OR HPUX OR FREEBSD OR NETBSD OR OPENBSD OR SOLARIS OR
|
||||||
|
HURD)
|
||||||
qt_find_package(ATSPI2 PROVIDED_TARGETS PkgConfig::ATSPI2 MODULE_NAME gui QMAKE_LIB atspi)
|
qt_find_package(ATSPI2 PROVIDED_TARGETS PkgConfig::ATSPI2 MODULE_NAME gui QMAKE_LIB atspi)
|
||||||
qt_find_package(DirectFB PROVIDED_TARGETS PkgConfig::DirectFB MODULE_NAME gui QMAKE_LIB directfb)
|
qt_find_package(DirectFB PROVIDED_TARGETS PkgConfig::DirectFB MODULE_NAME gui QMAKE_LIB directfb)
|
||||||
qt_find_package(Libdrm PROVIDED_TARGETS Libdrm::Libdrm MODULE_NAME gui QMAKE_LIB drm)
|
qt_find_package(Libdrm PROVIDED_TARGETS Libdrm::Libdrm MODULE_NAME gui QMAKE_LIB drm)
|
||||||
@ -57,7 +58,8 @@ qt_find_package(Mtdev PROVIDED_TARGETS PkgConfig::Mtdev MODULE_NAME gui QMAKE_LI
|
|||||||
qt_find_package(WrapOpenGL PROVIDED_TARGETS WrapOpenGL::WrapOpenGL MODULE_NAME gui QMAKE_LIB opengl)
|
qt_find_package(WrapOpenGL PROVIDED_TARGETS WrapOpenGL::WrapOpenGL MODULE_NAME gui QMAKE_LIB opengl)
|
||||||
qt_find_package(GLESv2 PROVIDED_TARGETS GLESv2::GLESv2 MODULE_NAME gui QMAKE_LIB opengl_es2)
|
qt_find_package(GLESv2 PROVIDED_TARGETS GLESv2::GLESv2 MODULE_NAME gui QMAKE_LIB opengl_es2)
|
||||||
qt_find_package(Tslib PROVIDED_TARGETS PkgConfig::Tslib MODULE_NAME gui QMAKE_LIB tslib)
|
qt_find_package(Tslib PROVIDED_TARGETS PkgConfig::Tslib MODULE_NAME gui QMAKE_LIB tslib)
|
||||||
qt_find_package(WrapVulkanHeaders PROVIDED_TARGETS WrapVulkanHeaders::WrapVulkanHeaders MODULE_NAME gui QMAKE_LIB vulkan MARK_OPTIONAL) # special case
|
qt_find_package(WrapVulkanHeaders PROVIDED_TARGETS WrapVulkanHeaders::WrapVulkanHeaders
|
||||||
|
MODULE_NAME gui QMAKE_LIB vulkan MARK_OPTIONAL)
|
||||||
if((LINUX) OR QT_FIND_ALL_PACKAGES_ALWAYS)
|
if((LINUX) OR QT_FIND_ALL_PACKAGES_ALWAYS)
|
||||||
qt_find_package(Wayland PROVIDED_TARGETS Wayland::Server MODULE_NAME gui QMAKE_LIB wayland_server)
|
qt_find_package(Wayland PROVIDED_TARGETS Wayland::Server MODULE_NAME gui QMAKE_LIB wayland_server)
|
||||||
endif()
|
endif()
|
||||||
@ -277,8 +279,8 @@ qt_config_compile_test(egl_viv
|
|||||||
LABEL "i.Mx6 EGL"
|
LABEL "i.Mx6 EGL"
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
EGL::EGL
|
EGL::EGL
|
||||||
COMPILE_OPTIONS # special case
|
COMPILE_OPTIONS
|
||||||
"-DEGL_API_FB=1" # special case
|
"-DEGL_API_FB=1"
|
||||||
CODE
|
CODE
|
||||||
"#include <EGL/egl.h>
|
"#include <EGL/egl.h>
|
||||||
#include <EGL/eglvivante.h>
|
#include <EGL/eglvivante.h>
|
||||||
@ -406,11 +408,9 @@ ioctl(fd, FBIOGET_VSCREENINFO, &vinfo);
|
|||||||
")
|
")
|
||||||
|
|
||||||
# opengles3
|
# opengles3
|
||||||
# special case begin
|
|
||||||
if(WASM)
|
if(WASM)
|
||||||
set(extra_compiler_options "-s FULL_ES3=1")
|
set(extra_compiler_options "-s FULL_ES3=1")
|
||||||
endif()
|
endif()
|
||||||
# special case end
|
|
||||||
|
|
||||||
set(test_libs GLESv2::GLESv2)
|
set(test_libs GLESv2::GLESv2)
|
||||||
if(INTEGRITY AND _qt_igy_gui_libs)
|
if(INTEGRITY AND _qt_igy_gui_libs)
|
||||||
@ -421,9 +421,7 @@ qt_config_compile_test(opengles3
|
|||||||
LABEL "OpenGL ES 3.0"
|
LABEL "OpenGL ES 3.0"
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
${test_libs}
|
${test_libs}
|
||||||
# special case begin
|
|
||||||
COMPILE_OPTIONS ${extra_compiler_options}
|
COMPILE_OPTIONS ${extra_compiler_options}
|
||||||
# special case end
|
|
||||||
CODE
|
CODE
|
||||||
"#ifdef __APPLE__
|
"#ifdef __APPLE__
|
||||||
# include <OpenGLES/ES3/gl.h>
|
# include <OpenGLES/ES3/gl.h>
|
||||||
@ -553,7 +551,6 @@ libinput_event_pointer_get_scroll_value_v120(nullptr, LIBINPUT_POINTER_AXIS_SCRO
|
|||||||
}
|
}
|
||||||
")
|
")
|
||||||
|
|
||||||
# special case begin
|
|
||||||
# directwrite (assumes DirectWrite2)
|
# directwrite (assumes DirectWrite2)
|
||||||
qt_config_compile_test(directwrite
|
qt_config_compile_test(directwrite
|
||||||
LABEL "WINDOWS directwrite"
|
LABEL "WINDOWS directwrite"
|
||||||
@ -615,7 +612,6 @@ int main(int, char **)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
")
|
")
|
||||||
# special case end
|
|
||||||
|
|
||||||
|
|
||||||
#### Features
|
#### Features
|
||||||
@ -633,21 +629,21 @@ qt_feature("directfb" PRIVATE
|
|||||||
)
|
)
|
||||||
qt_feature("directwrite" PRIVATE
|
qt_feature("directwrite" PRIVATE
|
||||||
LABEL "DirectWrite"
|
LABEL "DirectWrite"
|
||||||
CONDITION TEST_directwrite # special case
|
CONDITION TEST_directwrite
|
||||||
EMIT_IF WIN32
|
EMIT_IF WIN32
|
||||||
)
|
)
|
||||||
qt_feature("directwrite3" PRIVATE
|
qt_feature("directwrite3" PRIVATE
|
||||||
LABEL "DirectWrite 3"
|
LABEL "DirectWrite 3"
|
||||||
CONDITION QT_FEATURE_directwrite AND TEST_directwrite3 # special case
|
CONDITION QT_FEATURE_directwrite AND TEST_directwrite3
|
||||||
EMIT_IF WIN32
|
EMIT_IF WIN32
|
||||||
)
|
)
|
||||||
qt_feature("direct2d" PRIVATE
|
qt_feature("direct2d" PRIVATE
|
||||||
LABEL "Direct 2D"
|
LABEL "Direct 2D"
|
||||||
CONDITION WIN32 AND NOT WINRT AND TEST_d2d1 # special case
|
CONDITION WIN32 AND NOT WINRT AND TEST_d2d1
|
||||||
)
|
)
|
||||||
qt_feature("direct2d1_1" PRIVATE
|
qt_feature("direct2d1_1" PRIVATE
|
||||||
LABEL "Direct 2D 1.1"
|
LABEL "Direct 2D 1.1"
|
||||||
CONDITION QT_FEATURE_direct2d AND TEST_d2d1_1 # special case
|
CONDITION QT_FEATURE_direct2d AND TEST_d2d1_1
|
||||||
)
|
)
|
||||||
qt_feature("evdev" PRIVATE
|
qt_feature("evdev" PRIVATE
|
||||||
LABEL "evdev"
|
LABEL "evdev"
|
||||||
@ -1316,7 +1312,7 @@ qt_configure_end_summary_section() # end of "GL integrations" section
|
|||||||
qt_configure_end_summary_section() # end of "XCB" section
|
qt_configure_end_summary_section() # end of "XCB" section
|
||||||
qt_configure_add_summary_section(NAME "Windows")
|
qt_configure_add_summary_section(NAME "Windows")
|
||||||
qt_configure_add_summary_entry(ARGS "direct2d")
|
qt_configure_add_summary_entry(ARGS "direct2d")
|
||||||
qt_configure_add_summary_entry(ARGS "direct2d1_1") ### special case
|
qt_configure_add_summary_entry(ARGS "direct2d1_1")
|
||||||
qt_configure_add_summary_entry(ARGS "directwrite")
|
qt_configure_add_summary_entry(ARGS "directwrite")
|
||||||
qt_configure_add_summary_entry(ARGS "directwrite3")
|
qt_configure_add_summary_entry(ARGS "directwrite3")
|
||||||
qt_configure_end_summary_section() # end of "Windows" section
|
qt_configure_end_summary_section() # end of "Windows" section
|
||||||
|
@ -377,9 +377,11 @@ qt_internal_add_docs(Network
|
|||||||
doc/qtnetwork.qdocconf
|
doc/qtnetwork.qdocconf
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_internal_extend_target(Network CONDITION WIN32 PUBLIC_LIBRARIES ws2_32) # special case: mkspecs/common/msvc-desktop.conf
|
# See mkspecs/common/msvc-desktop.conf
|
||||||
|
qt_internal_extend_target(Network CONDITION WIN32 PUBLIC_LIBRARIES ws2_32)
|
||||||
|
|
||||||
qt_internal_extend_target(Network CONDITION QNX PUBLIC_LIBRARIES socket) # special case: mkspecs/common/qcc-base-qnx.conf
|
# See mkspecs/common/qcc-base-qnx.conf
|
||||||
|
qt_internal_extend_target(Network CONDITION QNX PUBLIC_LIBRARIES socket)
|
||||||
|
|
||||||
qt_internal_extend_target(Network CONDITION SOLARIS PUBLIC_LIBRARIES socket nsl)
|
qt_internal_extend_target(Network CONDITION SOLARIS PUBLIC_LIBRARIES socket nsl)
|
||||||
|
|
||||||
|
@ -19,6 +19,6 @@ if(QT_FEATURE_libinput)
|
|||||||
add_subdirectory(libinput)
|
add_subdirectory(libinput)
|
||||||
endif()
|
endif()
|
||||||
if(FREEBSD)
|
if(FREEBSD)
|
||||||
# add_subdirectory(bsdkeyboard) # special case TODO
|
# add_subdirectory(bsdkeyboard) # TODO: QTBUG-112770
|
||||||
# add_subdirectory(bsdmouse) # special case TODO
|
# add_subdirectory(bsdmouse) # TODO: QTBUG-112770
|
||||||
endif()
|
endif()
|
||||||
|
@ -42,16 +42,16 @@ if(QT_FEATURE_vnc AND TARGET Qt::Network)
|
|||||||
add_subdirectory(vnc)
|
add_subdirectory(vnc)
|
||||||
endif()
|
endif()
|
||||||
if(FREEBSD)
|
if(FREEBSD)
|
||||||
# add_subdirectory(bsdfb) # special case TODO
|
# add_subdirectory(bsdfb) # TODO: QTBUG-112768
|
||||||
endif()
|
endif()
|
||||||
if(HAIKU)
|
if(HAIKU)
|
||||||
# add_subdirectory(haiku) # special case TODO
|
# add_subdirectory(haiku) # TODO: QTBUG-112768
|
||||||
endif()
|
endif()
|
||||||
if(WASM)
|
if(WASM)
|
||||||
add_subdirectory(wasm)
|
add_subdirectory(wasm)
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_integrityfb)
|
if(QT_FEATURE_integrityfb)
|
||||||
# add_subdirectory(integrity) # special case TODO
|
# add_subdirectory(integrity) # TODO: QTBUG-112768
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_vkkhrdisplay)
|
if(QT_FEATURE_vkkhrdisplay)
|
||||||
add_subdirectory(vkkhrdisplay)
|
add_subdirectory(vkkhrdisplay)
|
||||||
|
@ -14,10 +14,10 @@ if(QT_FEATURE_eglfs_egldevice)
|
|||||||
add_subdirectory(eglfs_kms_egldevice)
|
add_subdirectory(eglfs_kms_egldevice)
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_eglfs_vsp2)
|
if(QT_FEATURE_eglfs_vsp2)
|
||||||
# add_subdirectory(eglfs_kms_vsp2) # special case TODO
|
# add_subdirectory(eglfs_kms_vsp2) # TODO: QTBUG-112769
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_eglfs_brcm)
|
if(QT_FEATURE_eglfs_brcm)
|
||||||
# add_subdirectory(eglfs_brcm) # special case TODO
|
# add_subdirectory(eglfs_brcm) # TODO: QTBUG-112769
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_eglfs_mali)
|
if(QT_FEATURE_eglfs_mali)
|
||||||
add_subdirectory(eglfs_mali)
|
add_subdirectory(eglfs_mali)
|
||||||
@ -26,7 +26,7 @@ if(QT_FEATURE_eglfs_viv)
|
|||||||
add_subdirectory(eglfs_viv)
|
add_subdirectory(eglfs_viv)
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_eglfs_rcar)
|
if(QT_FEATURE_eglfs_rcar)
|
||||||
# add_subdirectory(eglfs_rcar) # special case TODO
|
# add_subdirectory(eglfs_rcar) # TODO: QTBUG-112769
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_eglfs_viv_wl)
|
if(QT_FEATURE_eglfs_viv_wl)
|
||||||
add_subdirectory(eglfs_viv_wl)
|
add_subdirectory(eglfs_viv_wl)
|
||||||
|
@ -57,7 +57,6 @@ qt_internal_add_module(XcbQpaPrivate
|
|||||||
XCB::SYNC
|
XCB::SYNC
|
||||||
XCB::XCB
|
XCB::XCB
|
||||||
XCB::XFIXES
|
XCB::XFIXES
|
||||||
# XCB::XINPUT # special case remove handled below
|
|
||||||
XCB::XKB
|
XCB::XKB
|
||||||
XKB::XKB
|
XKB::XKB
|
||||||
NO_UNITY_BUILD # X11 define clashes
|
NO_UNITY_BUILD # X11 define clashes
|
||||||
@ -178,5 +177,5 @@ qt_internal_add_plugin(QXcbIntegrationPlugin
|
|||||||
|
|
||||||
add_subdirectory(gl_integrations)
|
add_subdirectory(gl_integrations)
|
||||||
if(OFF)
|
if(OFF)
|
||||||
add_subdirectory(xcb-static) # special case TODO: xcb-static sub folder
|
add_subdirectory(xcb-static)
|
||||||
endif()
|
endif()
|
||||||
|
@ -20,7 +20,6 @@ qt_internal_add_tool(${target_name}
|
|||||||
outputrevision.h
|
outputrevision.h
|
||||||
parser.cpp parser.h
|
parser.cpp parser.h
|
||||||
preprocessor.cpp preprocessor.h
|
preprocessor.cpp preprocessor.h
|
||||||
# qdatetime_p.h special case remove
|
|
||||||
symbols.h
|
symbols.h
|
||||||
token.cpp token.h
|
token.cpp token.h
|
||||||
utils.h
|
utils.h
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
if(QT_BUILD_STANDALONE_TESTS)
|
if(QT_BUILD_STANDALONE_TESTS)
|
||||||
# Add qt_find_package calls for extra dependencies that need to be found when building
|
# Add qt_find_package calls for extra dependencies that need to be found when building
|
||||||
# the standalone tests here.
|
# the standalone tests here.
|
||||||
# special case begin
|
|
||||||
|
|
||||||
# Needed for early feature values, despite it being found later on in qt_build_tests().
|
# Needed for early feature values, despite it being found later on in qt_build_tests().
|
||||||
# Needs to be find_package, not qt_find_package, because qt_find_package doesn't handle finding
|
# Needs to be find_package, not qt_find_package, because qt_find_package doesn't handle finding
|
||||||
@ -19,6 +18,5 @@ if(QT_BUILD_STANDALONE_TESTS)
|
|||||||
qt_find_package(ICU 50.1 COMPONENTS i18n uc data PROVIDED_TARGETS ICU::i18n ICU::uc ICU::data)
|
qt_find_package(ICU 50.1 COMPONENTS i18n uc data PROVIDED_TARGETS ICU::i18n ICU::uc ICU::data)
|
||||||
qt_find_package(WrapOpenSSL PROVIDED_TARGETS WrapOpenSSL::WrapOpenSSL)
|
qt_find_package(WrapOpenSSL PROVIDED_TARGETS WrapOpenSSL::WrapOpenSSL)
|
||||||
qt_find_package(WrapOpenSSLHeaders PROVIDED_TARGETS WrapOpenSSLHeaders::WrapOpenSSLHeaders)
|
qt_find_package(WrapOpenSSLHeaders PROVIDED_TARGETS WrapOpenSSLHeaders::WrapOpenSSLHeaders)
|
||||||
# special case end
|
|
||||||
endif()
|
endif()
|
||||||
qt_build_tests()
|
qt_build_tests()
|
||||||
|
@ -15,12 +15,10 @@ if(QT_FEATURE_thread)
|
|||||||
add_subdirectory(qreadlocker)
|
add_subdirectory(qreadlocker)
|
||||||
add_subdirectory(qreadwritelock)
|
add_subdirectory(qreadwritelock)
|
||||||
add_subdirectory(qsemaphore)
|
add_subdirectory(qsemaphore)
|
||||||
# special case begin
|
|
||||||
# QTBUG-85364
|
# QTBUG-85364
|
||||||
if(NOT CMAKE_CROSSCOMPILING)
|
if(NOT CMAKE_CROSSCOMPILING)
|
||||||
add_subdirectory(qthread)
|
add_subdirectory(qthread)
|
||||||
endif()
|
endif()
|
||||||
# special case end
|
|
||||||
add_subdirectory(qthreadonce)
|
add_subdirectory(qthreadonce)
|
||||||
add_subdirectory(qthreadpool)
|
add_subdirectory(qthreadpool)
|
||||||
add_subdirectory(qthreadstorage)
|
add_subdirectory(qthreadstorage)
|
||||||
|
@ -14,7 +14,7 @@ if (QT_FEATURE_private_tests)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# add_subdirectory(selftest) # special case not ported
|
# add_subdirectory(selftest) # TODO: not ported
|
||||||
add_subdirectory(access)
|
add_subdirectory(access)
|
||||||
add_subdirectory(kernel)
|
add_subdirectory(kernel)
|
||||||
add_subdirectory(ssl)
|
add_subdirectory(ssl)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
# add_subdirectory(test) # special case remove
|
|
||||||
add_subdirectory(socketprocess)
|
add_subdirectory(socketprocess)
|
||||||
qt_internal_add_test(tst_qlocalsocket
|
qt_internal_add_test(tst_qlocalsocket
|
||||||
SOURCES
|
SOURCES
|
||||||
|
@ -35,10 +35,10 @@ if(QT_FEATURE_process AND TARGET Qt::Gui AND NOT ANDROID)
|
|||||||
add_subdirectory(qprocess_and_guieventloop)
|
add_subdirectory(qprocess_and_guieventloop)
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_accessibility_atspi_bridge AND TARGET Qt::Gui AND TARGET Qt::Widgets)
|
if(QT_FEATURE_accessibility_atspi_bridge AND TARGET Qt::Gui AND TARGET Qt::Widgets)
|
||||||
#add_subdirectory(qaccessibilitylinux) # special case # This test is broken
|
#add_subdirectory(qaccessibilitylinux) # TODO: This test is broken
|
||||||
endif()
|
endif()
|
||||||
if(MACOS AND TARGET Qt::Gui)
|
if(MACOS AND TARGET Qt::Gui)
|
||||||
# add_subdirectory(macnativeevents) # special case it's disabled in qmake too
|
# add_subdirectory(macnativeevents) # TODO: it's disabled in qmake too
|
||||||
endif()
|
endif()
|
||||||
if(embedded)
|
if(embedded)
|
||||||
add_subdirectory(qdirectpainter)
|
add_subdirectory(qdirectpainter)
|
||||||
|
@ -11,7 +11,7 @@ qt_internal_add_executable(verbose1
|
|||||||
SOURCES
|
SOURCES
|
||||||
../counting/tst_counting.cpp
|
../counting/tst_counting.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
TESTLIB_VERBOSITY_ARG=-v1 # special case remove quotes
|
TESTLIB_VERBOSITY_ARG=-v1
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
Qt::Test
|
Qt::Test
|
||||||
)
|
)
|
||||||
|
@ -11,7 +11,7 @@ qt_internal_add_executable(verbose2
|
|||||||
SOURCES
|
SOURCES
|
||||||
../counting/tst_counting.cpp
|
../counting/tst_counting.cpp
|
||||||
DEFINES
|
DEFINES
|
||||||
TESTLIB_VERBOSITY_ARG=-v2 # special case remove quotes
|
TESTLIB_VERBOSITY_ARG=-v2
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
Qt::Test
|
Qt::Test
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@ add_subdirectory(gestures)
|
|||||||
add_subdirectory(highdpi)
|
add_subdirectory(highdpi)
|
||||||
add_subdirectory(inputmethodhints)
|
add_subdirectory(inputmethodhints)
|
||||||
add_subdirectory(keypadnavigation)
|
add_subdirectory(keypadnavigation)
|
||||||
#add_subdirectory(lance) # special case qgl.h missing
|
#add_subdirectory(lance) # qgl.h missing
|
||||||
add_subdirectory(qcursor)
|
add_subdirectory(qcursor)
|
||||||
add_subdirectory(qdesktopservices)
|
add_subdirectory(qdesktopservices)
|
||||||
add_subdirectory(qgraphicsitem)
|
add_subdirectory(qgraphicsitem)
|
||||||
@ -29,11 +29,9 @@ add_subdirectory(qmimedatabase)
|
|||||||
add_subdirectory(qnetconmonitor)
|
add_subdirectory(qnetconmonitor)
|
||||||
add_subdirectory(qnetworkaccessmanager/qget)
|
add_subdirectory(qnetworkaccessmanager/qget)
|
||||||
add_subdirectory(qnetworkinformation)
|
add_subdirectory(qnetworkinformation)
|
||||||
#special case begin
|
|
||||||
if (QT_FEATURE_openssl AND UNIX)
|
if (QT_FEATURE_openssl AND UNIX)
|
||||||
add_subdirectory(qnetworkreply)
|
add_subdirectory(qnetworkreply)
|
||||||
endif()
|
endif()
|
||||||
#special case end
|
|
||||||
if(QT_FEATURE_permissions)
|
if(QT_FEATURE_permissions)
|
||||||
add_subdirectory(permissions)
|
add_subdirectory(permissions)
|
||||||
endif()
|
endif()
|
||||||
@ -77,10 +75,10 @@ if(QT_FEATURE_openssl)
|
|||||||
add_subdirectory(qssloptions)
|
add_subdirectory(qssloptions)
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_opengl)
|
if(QT_FEATURE_opengl)
|
||||||
# add_subdirectory(qopengltextureblitter) special case broken in dev
|
# add_subdirectory(qopengltextureblitter) # TODO: broken in dev
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_egl AND QT_FEATURE_opengl)
|
if(QT_FEATURE_egl AND QT_FEATURE_opengl)
|
||||||
# add_subdirectory(qopenglcontext) # special case broken in dev
|
# add_subdirectory(qopenglcontext) # TODO: broken in dev
|
||||||
endif()
|
endif()
|
||||||
if(QT_FEATURE_vulkan)
|
if(QT_FEATURE_vulkan)
|
||||||
add_subdirectory(qvulkaninstance)
|
add_subdirectory(qvulkaninstance)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#add_subdirectory(device_information) # special case no member named 'staticQtMetaObject'
|
#add_subdirectory(device_information) # TODO: no member named 'staticQtMetaObject'
|
||||||
add_subdirectory(event_compression)
|
add_subdirectory(event_compression)
|
||||||
add_subdirectory(regular_widgets)
|
add_subdirectory(regular_widgets)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
# add_subdirectory(qtooltip) # special case broken in dev
|
# add_subdirectory(qtooltip) # TODO: broken in dev
|
||||||
add_subdirectory(sizeonhide)
|
add_subdirectory(sizeonhide)
|
||||||
add_subdirectory(layoutreplace)
|
add_subdirectory(layoutreplace)
|
||||||
add_subdirectory(setscreen)
|
add_subdirectory(setscreen)
|
||||||
|
Loading…
Reference in New Issue
Block a user