diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-08 15:40:56 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-08 16:20:50 +0100 |
commit | 93ece87be2bf7a8e905e1b462ae7705280603a27 (patch) | |
tree | 3787d005a6cc6e2649dd203e22267b8a8c9678e7 | |
parent | d7f26f37179a245f33c8f39dfbc15bccf65913f5 (diff) | |
download | qtimageformats-93ece87be2bf7a8e905e1b462ae7705280603a27.tar.gz |
Remove remains of qmake conversion from CMakeLists.txt files
Pick-to: 6.5
Change-Id: Ic00df7d45246270d724b3b1d1ef9d13d76dcc136
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
27 files changed, 6 insertions, 119 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 947a5f3..684482d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,20 +1,18 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from qtimageformats.pro. - cmake_minimum_required(VERSION 3.16) include(.cmake.conf) -project(QtImageFormats # special case +project(QtImageFormats VERSION "${QT_REPO_MODULE_VERSION}" - DESCRIPTION "Qt ImageFormats Libraries" # special case + DESCRIPTION "Qt ImageFormats Libraries" HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C ) -find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case -find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui) # special case +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) +find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui) if(NOT TARGET Qt::Gui) message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.") return() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7c845fd..d912f7c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,5 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from src.pro. - add_subdirectory(imageformats) add_subdirectory(plugins) diff --git a/src/imageformats/CMakeLists.txt b/src/imageformats/CMakeLists.txt index 7fadbc8..6315170 100644 --- a/src/imageformats/CMakeLists.txt +++ b/src/imageformats/CMakeLists.txt @@ -1,12 +1,8 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from imageformats.pro. - -# special case begin add_library(ImageFormats INTERFACE) qt_internal_add_docs(ImageFormats doc/qtimageformats.qdocconf ) -# special case end diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index e7c9d03..506f9c4 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -1,6 +1,4 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from plugins.pro. - add_subdirectory(imageformats) diff --git a/src/plugins/imageformats/CMakeLists.txt b/src/plugins/imageformats/CMakeLists.txt index 2d2dff2..56059f4 100644 --- a/src/plugins/imageformats/CMakeLists.txt +++ b/src/plugins/imageformats/CMakeLists.txt @@ -1,9 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from imageformats.pro. - -# special case begin qt_feature_module_begin( NO_MODULE PUBLIC_FILE "qtimageformats-config.h" @@ -11,7 +8,6 @@ qt_feature_module_begin( ) include(../../imageformats/configure.cmake) qt_feature_module_end(NO_MODULE) -# special case end add_subdirectory(tga) add_subdirectory(wbmp) diff --git a/src/plugins/imageformats/icns/CMakeLists.txt b/src/plugins/imageformats/icns/CMakeLists.txt index 6fb4813..49ee9ed 100644 --- a/src/plugins/imageformats/icns/CMakeLists.txt +++ b/src/plugins/imageformats/icns/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from icns.pro. - ##################################################################### ## QICNSPlugin Plugin: ##################################################################### @@ -20,6 +18,3 @@ qt_internal_add_plugin(QICNSPlugin Qt::Core Qt::Gui ) - -#### Keys ignored in scope 1:.:.:icns.pro:<TRUE>: -# OTHER_FILES = "icns.json" diff --git a/src/plugins/imageformats/jp2/CMakeLists.txt b/src/plugins/imageformats/jp2/CMakeLists.txt index 73e8817..a2819d1 100644 --- a/src/plugins/imageformats/jp2/CMakeLists.txt +++ b/src/plugins/imageformats/jp2/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from jp2.pro. - ##################################################################### ## QJp2Plugin Plugin: ##################################################################### @@ -18,7 +16,3 @@ qt_internal_add_plugin(QJp2Plugin Qt::Core Qt::Gui ) - -#### Keys ignored in scope 1:.:.:jp2.pro:<TRUE>: -# OTHER_FILES = "jp2.json" -# QT_FOR_CONFIG = "imageformats-private" diff --git a/src/plugins/imageformats/macheif/CMakeLists.txt b/src/plugins/imageformats/macheif/CMakeLists.txt index e40aa36..b22cced 100644 --- a/src/plugins/imageformats/macheif/CMakeLists.txt +++ b/src/plugins/imageformats/macheif/CMakeLists.txt @@ -1,17 +1,13 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from macheif.pro. - ##################################################################### ## QMacHeifPlugin Plugin: ##################################################################### -# special case begin find_library(FWCoreFoundation CoreFoundation) find_library(FWCoreGraphics CoreGraphics) find_library(FWImageIO ImageIO) -# special case end qt_internal_add_plugin(QMacHeifPlugin OUTPUT_NAME qmacheif @@ -31,6 +27,3 @@ qt_internal_add_plugin(QMacHeifPlugin Qt::Gui Qt::GuiPrivate ) - -#### Keys ignored in scope 1:.:.:macheif.pro:<TRUE>: -# OTHER_FILES = "macheif.json" diff --git a/src/plugins/imageformats/macjp2/CMakeLists.txt b/src/plugins/imageformats/macjp2/CMakeLists.txt index bc6d80c..99aa1fd 100644 --- a/src/plugins/imageformats/macjp2/CMakeLists.txt +++ b/src/plugins/imageformats/macjp2/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from macjp2.pro. - ##################################################################### ## QMacJp2Plugin Plugin: ##################################################################### @@ -25,6 +23,3 @@ qt_internal_add_plugin(QMacJp2Plugin Qt::Gui Qt::GuiPrivate ) - -#### Keys ignored in scope 1:.:.:macjp2.pro:<TRUE>: -# OTHER_FILES = "macjp2.json" diff --git a/src/plugins/imageformats/mng/CMakeLists.txt b/src/plugins/imageformats/mng/CMakeLists.txt index 7b17907..2e68b6c 100644 --- a/src/plugins/imageformats/mng/CMakeLists.txt +++ b/src/plugins/imageformats/mng/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from mng.pro. - ##################################################################### ## QMngPlugin Plugin: ##################################################################### @@ -18,7 +16,3 @@ qt_internal_add_plugin(QMngPlugin Qt::Core Qt::Gui ) - -#### Keys ignored in scope 1:.:.:mng.pro:<TRUE>: -# OTHER_FILES = "mng.json" -# QT_FOR_CONFIG = "imageformats-private" diff --git a/src/plugins/imageformats/tga/CMakeLists.txt b/src/plugins/imageformats/tga/CMakeLists.txt index 6596f7d..b5a11fb 100644 --- a/src/plugins/imageformats/tga/CMakeLists.txt +++ b/src/plugins/imageformats/tga/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from tga.pro. - ##################################################################### ## QTgaPlugin Plugin: ##################################################################### @@ -18,6 +16,3 @@ qt_internal_add_plugin(QTgaPlugin Qt::Core Qt::Gui ) - -#### Keys ignored in scope 1:.:.:tga.pro:<TRUE>: -# OTHER_FILES = "tga.json" diff --git a/src/plugins/imageformats/tiff/CMakeLists.txt b/src/plugins/imageformats/tiff/CMakeLists.txt index d38a8ec..89f38d7 100644 --- a/src/plugins/imageformats/tiff/CMakeLists.txt +++ b/src/plugins/imageformats/tiff/CMakeLists.txt @@ -1,20 +1,16 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from tiff.pro. - ##################################################################### ## QTiffPlugin Plugin: ##################################################################### -# special case begin # Handle the conditional finding of either system zlib or qt zlib. if(NOT QT_FEATURE_system_zlib) find_package(Qt6 COMPONENTS ZlibPrivate) elseif(NOT TARGET WrapZLIB::WrapZLIB) qt_find_package(WrapZLIB PROVIDED_TARGETS WrapZLIB::WrapZLIB) endif() -# special case end qt_internal_add_plugin(QTiffPlugin OUTPUT_NAME qtiff @@ -27,10 +23,6 @@ qt_internal_add_plugin(QTiffPlugin Qt::Gui ) -#### Keys ignored in scope 1:.:.:tiff.pro:<TRUE>: -# OTHER_FILES = "tiff.json" -# QT_FOR_CONFIG = "imageformats-private" - ## Scopes: ##################################################################### diff --git a/src/plugins/imageformats/wbmp/CMakeLists.txt b/src/plugins/imageformats/wbmp/CMakeLists.txt index 452d994..8462f2f 100644 --- a/src/plugins/imageformats/wbmp/CMakeLists.txt +++ b/src/plugins/imageformats/wbmp/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from wbmp.pro. - ##################################################################### ## QWbmpPlugin Plugin: ##################################################################### @@ -17,6 +15,3 @@ qt_internal_add_plugin(QWbmpPlugin Qt::Core Qt::Gui ) - -#### Keys ignored in scope 1:.:.:wbmp.pro:<TRUE>: -# OTHER_FILES = "wbmp.json" diff --git a/src/plugins/imageformats/webp/CMakeLists.txt b/src/plugins/imageformats/webp/CMakeLists.txt index 867c783..0b9ef9a 100644 --- a/src/plugins/imageformats/webp/CMakeLists.txt +++ b/src/plugins/imageformats/webp/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from webp.pro. - ##################################################################### ## QWebpPlugin Plugin: ##################################################################### @@ -18,10 +16,6 @@ qt_internal_add_plugin(QWebpPlugin Qt::Gui ) -#### Keys ignored in scope 1:.:.:webp.pro:<TRUE>: -# OTHER_FILES = "webp.json" -# QT_FOR_CONFIG = "imageformats-private" - ## Scopes: ##################################################################### @@ -157,12 +151,11 @@ qt_internal_extend_target(QWebpPlugin CONDITION NOT QT_FEATURE_system_webp qt_internal_extend_target(QWebpPlugin CONDITION ANDROID AND NOT ANDROID_EMBEDDED AND NOT QT_FEATURE_system_webp SOURCES - ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c # special case + ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c INCLUDE_DIRECTORIES - ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures # special case + ${CMAKE_ANDROID_NDK}/sources/android/cpufeatures ) -# special case begin set(neon_sources ../../../3rdparty/libwebp/sharpyuv/sharpyuv_neon.c ../../../3rdparty/libwebp/src/dsp/alpha_processing_neon.c @@ -187,25 +180,3 @@ if(NOT QT_FEATURE_system_webp) qt_internal_add_simd_part(QWebpPlugin SIMD neon SOURCES ${neon_sources}) endif() endif() -# special case end - -#### Keys ignored in scope 6:.:../../../3rdparty:../../../3rdparty/libwebp.pri:INTEGRITY: -# QMAKE_CFLAGS = "-c99" - -#### Keys ignored in scope 12:.:../../../3rdparty:../../../3rdparty/libwebp.pri:else: -# QMAKE_EXTRA_COMPILERS = "neon_comp" -# neon_comp.commands = "$$QMAKE_CC" "-c" "$(CFLAGS)" "$$QMAKE_CFLAGS_NEON" "$(INCPATH)" "${QMAKE_FILE_IN}" -# neon_comp.dependency_type = "TYPE_C" -# neon_comp.input = "SOURCES_FOR_NEON" -# neon_comp.name = "compiling[neon]" "${QMAKE_FILE_IN}" -# neon_comp.output = "${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${firstQMAKE_EXT_OBJ}" -# neon_comp.variable_out = "OBJECTS" - -#### Keys ignored in scope 13:.:../../../3rdparty:../../../3rdparty/libwebp.pri:MSVC: -# neon_comp.commands = "-Fo${QMAKE_FILE_OUT}" - -#### Keys ignored in scope 14:.:../../../3rdparty:../../../3rdparty/libwebp.pri:else: -# neon_comp.commands = "-o" "${QMAKE_FILE_OUT}" - -#### Keys ignored in scope 15:.:../../../3rdparty:../../../3rdparty/libwebp.pri:silent: -# neon_comp.commands = "@echo" "compiling[neon]" "${QMAKE_FILE_IN}" "&&" diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 800bc26..05cc44c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from tests.pro. - if(QT_BUILD_STANDALONE_TESTS) # Add qt_find_package calls for extra dependencies that need to be found when building # the standalone tests here. diff --git a/tests/auto/dds/CMakeLists.txt b/tests/auto/dds/CMakeLists.txt index 2f26d90..2bfdcce 100644 --- a/tests/auto/dds/CMakeLists.txt +++ b/tests/auto/dds/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from dds.pro. - ##################################################################### ## tst_qdds Test: ##################################################################### diff --git a/tests/auto/heif/CMakeLists.txt b/tests/auto/heif/CMakeLists.txt index a564a4b..3fc310e 100644 --- a/tests/auto/heif/CMakeLists.txt +++ b/tests/auto/heif/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from heif.pro. - ##################################################################### ## tst_qheif Test: ##################################################################### diff --git a/tests/auto/icns/CMakeLists.txt b/tests/auto/icns/CMakeLists.txt index d978d34..b02d721 100644 --- a/tests/auto/icns/CMakeLists.txt +++ b/tests/auto/icns/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from icns.pro. ##################################################################### ## tst_qicns Test: diff --git a/tests/auto/jp2/CMakeLists.txt b/tests/auto/jp2/CMakeLists.txt index 42c5cc2..d12d635 100644 --- a/tests/auto/jp2/CMakeLists.txt +++ b/tests/auto/jp2/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from jp2.pro. - ##################################################################### ## tst_qjp2 Test: ##################################################################### diff --git a/tests/auto/mng/CMakeLists.txt b/tests/auto/mng/CMakeLists.txt index 55546b0..5567131 100644 --- a/tests/auto/mng/CMakeLists.txt +++ b/tests/auto/mng/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from mng.pro. - ##################################################################### ## tst_qmng Test: ##################################################################### diff --git a/tests/auto/tga/CMakeLists.txt b/tests/auto/tga/CMakeLists.txt index 98928a1..b2229ec 100644 --- a/tests/auto/tga/CMakeLists.txt +++ b/tests/auto/tga/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from tga.pro. - ##################################################################### ## tst_qtga Test: ##################################################################### diff --git a/tests/auto/tiff/CMakeLists.txt b/tests/auto/tiff/CMakeLists.txt index 6d8f5cc..ec0d34a 100644 --- a/tests/auto/tiff/CMakeLists.txt +++ b/tests/auto/tiff/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from tiff.pro. ##################################################################### ## tst_qtiff Test: diff --git a/tests/auto/wbmp/CMakeLists.txt b/tests/auto/wbmp/CMakeLists.txt index 11987aa..f1392a1 100644 --- a/tests/auto/wbmp/CMakeLists.txt +++ b/tests/auto/wbmp/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from wbmp.pro. - ##################################################################### ## tst_qwbmp Test: ##################################################################### diff --git a/tests/auto/webp/CMakeLists.txt b/tests/auto/webp/CMakeLists.txt index 729ca74..05e8373 100644 --- a/tests/auto/webp/CMakeLists.txt +++ b/tests/auto/webp/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from webp.pro. - ##################################################################### ## tst_qwebp Test: ##################################################################### diff --git a/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt index 4a2f020..533bb31 100644 --- a/tests/benchmarks/CMakeLists.txt +++ b/tests/benchmarks/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from benchmarks.pro. if(QT_FEATURE_system_zlib) add_subdirectory(mng) diff --git a/tests/benchmarks/mng/CMakeLists.txt b/tests/benchmarks/mng/CMakeLists.txt index cbf2a1b..5fb3681 100644 --- a/tests/benchmarks/mng/CMakeLists.txt +++ b/tests/benchmarks/mng/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from mng.pro. - ##################################################################### ## tst_bench_qmng Binary: ##################################################################### diff --git a/tests/benchmarks/tiff/CMakeLists.txt b/tests/benchmarks/tiff/CMakeLists.txt index 2b8f2f2..b8253e4 100644 --- a/tests/benchmarks/tiff/CMakeLists.txt +++ b/tests/benchmarks/tiff/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from tiff.pro. - ##################################################################### ## tst_bench_qtiff Binary: ##################################################################### |