diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-08 14:04:17 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-08 22:49:41 +0100 |
commit | 1e0539ea51b75d9404ccc9506fcc0cdfa6951307 (patch) | |
tree | b9033bc13a4f4611cf430a92236e9b93c460904e /src/linguist/lupdate | |
parent | 1f859ca1ac6d337aedde2fe8eed74266416ae0d1 (diff) | |
download | qttools-1e0539ea51b75d9404ccc9506fcc0cdfa6951307.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>
Diffstat (limited to 'src/linguist/lupdate')
-rw-r--r-- | src/linguist/lupdate/CMakeLists.txt | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/src/linguist/lupdate/CMakeLists.txt b/src/linguist/lupdate/CMakeLists.txt index b0b723904..0a1214f04 100644 --- a/src/linguist/lupdate/CMakeLists.txt +++ b/src/linguist/lupdate/CMakeLists.txt @@ -1,9 +1,7 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from lupdate.pro. -# special case begin if(CMAKE_VERSION VERSION_LESS "3.19" AND MSVC AND CMAKE_GENERATOR STREQUAL "Ninja Multi-Config") message(WARNING "lupdate will not be built in this configuration.") return() @@ -12,7 +10,6 @@ endif() if (MINGW) set_property(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" PROPERTY _qt_skip_separate_debug_info ON) endif() -# special case end ##################################################################### ## lupdate Tool: @@ -21,7 +18,7 @@ endif() qt_get_tool_target_name(target_name lupdate) qt_internal_add_tool(${target_name} TARGET_DESCRIPTION "Qt Translation File Update Tool" - TOOLS_TARGET Linguist # special case + TOOLS_TARGET Linguist EXTRA_CMAKE_FILES "${CMAKE_CURRENT_LIST_DIR}/../GenerateLUpdateProject.cmake" SOURCES ../shared/numerus.cpp @@ -58,13 +55,6 @@ set_source_files_properties(python.cpp PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON) qt_internal_return_unless_building_tools() -#### Keys ignored in scope 1:.:.:lupdate.pro:<TRUE>: -# QMAKE_TARGET_DESCRIPTION = "Qt Translation File Update Tool" -# QT_TOOL_ENV = "qmake" -# _OPTION = "host_build" -# qmake.name = "QMAKE" -# qmake.value = "$$shell_path($$QMAKE_QMAKE)" - ## Scopes: ##################################################################### @@ -101,21 +91,13 @@ qt_internal_extend_target(${target_name} CONDITION QT_FEATURE_clangcpp LUPDATE_CLANG_VERSION_MINOR=${QT_LIB_CLANG_VERSION_MINOR} LUPDATE_CLANG_VERSION_PATCH=${QT_LIB_CLANG_VERSION_PATCH} # special case end - LIBRARIES # special case - WrapLibClang::WrapLibClang # special case + LIBRARIES + WrapLibClang::WrapLibClang ) qt_internal_extend_target(${target_name} CONDITION MSVC DEFINES _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING) -# special case begin if(QT_FEATURE_clangcpp) set_property(SOURCE clangtoolastreader.cpp PROPERTY SKIP_AUTOMOC ON) endif() -# special case end - -#### Keys ignored in scope 6:.:.:lupdate.pro:NOT QMAKE_DEFAULT_LIBDIRS___contains____ss_CLANG_LIBDIR AND NOT disable_external_rpath: -# QMAKE_RPATHDIR = "$$CLANG_LIBDIR" - -#### Keys ignored in scope 9:.:.:lupdate.pro:MINGW: -# RC_FILE = "lupdate.rc" |