diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2020-03-19 12:47:41 +0100 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2020-03-19 12:52:09 +0100 |
commit | 3c2aa878dceae77144e548eb839c7c76893874eb (patch) | |
tree | f119df928dd7448cc8ce5f229d5d8d3fde3b5099 /util/cmake/pro2cmake.py | |
parent | ab60f32d6fb554db4ddffe3367bca09b73028830 (diff) |
CMake: Skip inclusion of selfcover.pri
Do not process selfcover.pri in the conversion as the output requires a
lot of special case fixs ups.
Change-Id: Iebee484db887973369b5604344a6d486f4bea20b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-x | util/cmake/pro2cmake.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 238f903bcc..0aebb971f3 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -3987,6 +3987,10 @@ def do_include(scope: Scope, *, debug: bool = False) -> None: for include_index, include_file in enumerate(scope.get_files("_INCLUDED", is_include=True)): if not include_file: continue + # Ignore selfcover.pri as this generates too many incompatible flags + # need to be removed with special cases + if include_file.endswith("selfcover.pri"): + continue if include_file.startswith("${QT_SOURCE_TREE}"): root_source_dir = get_top_level_repo_project_path(scope.file_absolute_path) include_file = include_file.replace("${QT_SOURCE_TREE}", root_source_dir) |