diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-01-31 11:54:55 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-01-31 15:23:09 +0000 |
commit | 0efd241d200e4080d80bc8336514a656583e2d18 (patch) | |
tree | 7b1b8d47221804db9a5bc276b5f78d84ec131882 | |
parent | ca4edbec6616b30256dcbc81a2d5d8e2e82cc202 (diff) |
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>
-rwxr-xr-x | util/cmake/pro2cmake.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 88869a8346..15c35ac9ae 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -386,6 +386,8 @@ class Scope(object): def dump(self, *, indent: int = 0) -> None: ind = ' ' * indent print('{}Scope "{}":'.format(ind, self)) + if self.total_condition: + print('{} Total condition = {}'.format(ind, self.total_condition)) print('{} Keys:'.format(ind)) keys = self._operations.keys() if not keys: |