diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-03-14 13:16:13 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-03-18 15:34:33 +0000 |
commit | 37b154858f41c0aa32ad124878fae96c39563d39 (patch) | |
tree | 87c4fe428b29037c5a1e90b3c4fd2176ce8bb1ca /configure.cmake | |
parent | e5b26997500a56f42be920a509821358f60aaa53 (diff) |
Improve configurejson2cmake feature output generation
There were a few cases of feature outputs that were handled
incorrectly before this change, specifically:
- publicFeatures and privateFeatures with custom names
- privateFeatures that also ended up writing defines into
public headers
- publicFeatures that ended up in private headers
- internal features (that should have no QT_FEATURE_foo
defines) that were still written to either public or
private headers
The change takes care of all those cases by keeping a map
of which features need to be written along with any visibility
specifications, as well as custom name changes.
Change-Id: I37baeaeacdfe4935128a392c72ca71b5c3ca1c8d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'configure.cmake')
0 files changed, 0 insertions, 0 deletions