diff options
| author | Leander Beernaert <[email protected]> | 2019-12-10 13:16:02 +0100 |
|---|---|---|
| committer | Leander Beernaert <[email protected]> | 2019-12-10 12:37:22 +0000 |
| commit | e0205f1793315cfece4fa61200048ea2eda4aa13 (patch) | |
| tree | 8bef0b0f8d18a4f41b497b5ee41a01f4e61a9ae2 /util/cmake/configurejson2cmake.py | |
| parent | ea9c2e558c202069b1358f5801808d0adb29dbc7 (diff) | |
Add special condition replacement for libclang in qttools
Change-Id: Icf35a2e39307e6239d8704824105bdc6b9081ffd
Reviewed-by: Alexandru Croitor <[email protected]>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
| -rwxr-xr-x | util/cmake/configurejson2cmake.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index f986b65acb9..9f93ecafa64 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -317,6 +317,9 @@ def map_condition(condition): condition = re.sub("\\s+", " ", mapped_condition) condition = condition.strip() + # Special case for WrapLibClang in qttools + condition = condition.replace("TEST_libclang.has_clangcpp", "TEST_libclang") + if has_failed: condition += " OR FIXME" |
