diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-28 12:57:12 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-28 11:15:44 +0000 |
commit | c3ef1a012b377b1cda1ade7de2db7785badfff53 (patch) | |
tree | 03b9e870e5efa74951b7805070e3d93b94961287 /util | |
parent | 5c75f6a21aba9192743f060768c9f185708d4b64 (diff) |
Fix handling of more functions in handle_function_value
Essentially pass them through without failing the whole
conversion process.
Change-Id: I7bbd198203f79b45120a7254e2ecdf58e32f9525
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 2e80ef12fe..db7dfa9747 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -318,7 +318,8 @@ def handle_function_value(group: pp.ParseResults): # Return the whole expression as a string. if function_name in ['join', 'cmakeRelativePath', 'shell_quote', 'shadowed', 'cmakeTargetPath', - 'shell_path']: + 'shell_path', 'cmakeProcessLibs', 'cmakeTargetPaths', + 'cmakePortablePaths', 'escape_expand']: return 'join({})'.format(''.join(function_args)) raise RuntimeError('No logic to handle function "{}", please add one in handle_function_value().'.format(function_name)) |