CMake: pro2cmake.py: report total condition when dumping a scope
Show the total_condition (if set) when dumping a scope. Change-Id: I9dfe98c2251f1d28881771042f17d723cedc8907 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
ca4edbec66
commit
0efd241d20
@ -386,6 +386,8 @@ class Scope(object):
|
|||||||
def dump(self, *, indent: int = 0) -> None:
|
def dump(self, *, indent: int = 0) -> None:
|
||||||
ind = ' ' * indent
|
ind = ' ' * indent
|
||||||
print('{}Scope "{}":'.format(ind, self))
|
print('{}Scope "{}":'.format(ind, self))
|
||||||
|
if self.total_condition:
|
||||||
|
print('{} Total condition = {}'.format(ind, self.total_condition))
|
||||||
print('{} Keys:'.format(ind))
|
print('{} Keys:'.format(ind))
|
||||||
keys = self._operations.keys()
|
keys = self._operations.keys()
|
||||||
if not keys:
|
if not keys:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user