qt5base-lts/util/cmake
Alexandru Croitor 37b154858f 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>
2019-03-18 15:34:33 +00:00
..
tests CMake: pro2cmake.py: Simplify code and add test for line continuation 2019-02-28 08:08:41 +00:00
cmakeconversionrate.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
configurejson2cmake.py Improve configurejson2cmake feature output generation 2019-03-18 15:34:33 +00:00
generate_module_map.sh Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
helper.py CMake: pro2cmake.py: Map libpng to PNG::PNG 2019-03-04 09:09:04 +00:00
Pipfile CMake: pro2cmake.py: Simplify conditions 2019-01-29 09:29:38 +00:00
pro2cmake.py CMake: pro2cmake.py: Better reporting of unused keys from qmake 2019-03-18 11:38:05 +00:00
run_pro2cmake.py CMake: run_pro2cmake.py: Add statistics 2019-02-28 08:07:07 +00:00