pro2cmake: account for child .pro files having includes
Change-Id: Ic2213578c9bd27787ae9788acbe4455252a1158c Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
parent
a25f9a1507
commit
e03596c2a7
@ -678,7 +678,8 @@ def handle_subdir(scope: Scope, cm_fh: typing.IO[str], *,
|
|||||||
subdir_result.asDict().get('statements'),
|
subdir_result.asDict().get('statements'),
|
||||||
'', scope.basedir)
|
'', scope.basedir)
|
||||||
|
|
||||||
cmakeify_scope(subdir_scope, cm_fh, indent=indent + 1)
|
do_include(subdir_scope)
|
||||||
|
cmakeify_scope(subdir_scope, cm_fh, indent=indent)
|
||||||
elif sd.startswith('-'):
|
elif sd.startswith('-'):
|
||||||
cm_fh.write('{}### remove_subdirectory'
|
cm_fh.write('{}### remove_subdirectory'
|
||||||
'("{}")\n'.format(ind, sd[1:]))
|
'("{}")\n'.format(ind, sd[1:]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user