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>
This commit is contained in:
parent
5c75f6a21a
commit
c3ef1a012b
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user