diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-25 16:00:32 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-26 10:59:06 +0000 |
commit | 2637a1aee2d6630dd0d0e313d045f107bde1cb92 (patch) | |
tree | bc3b19ec8c61df7adbb27273ff75789031ed450f /util | |
parent | 9061f2987213f3b6cc1e6908ba1b0b29daf877f8 (diff) |
pro2cmake: Format again
Change-Id: I3c82e6c13d01203bda8ab28dc5cb2f9fe6a0c4c2
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 02a845c713..89d30a469b 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -1519,15 +1519,11 @@ def map_condition(condition: str) -> str: condition = re.sub(r"(^| )armeabi-v7a", "TEST_architecture_arch STREQUAL arm", condition) # some defines replacements - condition = re.sub(r"DEFINES___contains___QT_NO_CURSOR", - r"(NOT QT_FEATURE_cursor)", - condition) - condition = re.sub(r"DEFINES___contains___QT_NO_TRANSLATION", - r"(NOT QT_FEATURE_translation)", - condition) - condition = re.sub(r"styles___contains___fusion", - r"QT_FEATURE_style_fusion", - condition) + condition = re.sub(r"DEFINES___contains___QT_NO_CURSOR", r"(NOT QT_FEATURE_cursor)", condition) + condition = re.sub( + r"DEFINES___contains___QT_NO_TRANSLATION", r"(NOT QT_FEATURE_translation)", condition + ) + condition = re.sub(r"styles___contains___fusion", r"QT_FEATURE_style_fusion", condition) cmake_condition = "" for part in condition.split(): |