diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-06 09:42:01 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-06 11:00:53 +0200 |
commit | 9b21dbbd7909678117649c68ac5137a74dc54667 (patch) | |
tree | 7a6cb874c90baff0fc089fb3cd691d872ca29a34 /util/cmake/configurejson2cmake.py | |
parent | d64a7c9f5ac1ec0d11ed7cf99c10f84185d821a8 (diff) |
CMake: Reformat python scripts
Change-Id: I1dfac318cdbbc4b4b7c76b113edca7db8f52f56b
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-x | util/cmake/configurejson2cmake.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index a5cd9ff022..7e94f8335e 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -865,9 +865,7 @@ def get_feature_mapping(): "enable": "TEST_posix_iconv AND TEST_iconv_needlib", "disable": "NOT TEST_posix_iconv OR NOT TEST_iconv_needlib", }, - "precompile_header": { - "condition": "BUILD_WITH_PCH" - }, + "precompile_header": {"condition": "BUILD_WITH_PCH"}, "profile": None, "qmakeargs": None, "qpa_default_platform": None, # Not a bool! @@ -876,7 +874,7 @@ def get_feature_mapping(): "rpath_dir": None, # merely used to fill the qmake variable EXTRA_RPATHS "rpath": { "autoDetect": "1", - "condition": "BUILD_SHARED_LIBS AND UNIX AND NOT WIN32 AND NOT ANDROID AND NOT APPLE" + "condition": "BUILD_SHARED_LIBS AND UNIX AND NOT WIN32 AND NOT ANDROID AND NOT APPLE", }, "sanitize_address": None, # sanitizer "sanitize_memory": None, @@ -893,9 +891,9 @@ def get_feature_mapping(): "type": "define", "name": "QT_STATIC", "prerequisite": "!defined(QT_SHARED) && !defined(QT_STATIC)", - "negative": True - } - ] + "negative": True, + }, + ], }, "silent": None, "sql-sqlite": {"condition": "QT_FEATURE_datestring"}, |