qt5base-lts/util/cmake
Alexandru Croitor bc4687f5bb Keep "special case" modifications when regenerating project files
The pro2cmake.py file is now smarter, and can reapply "special case"
modifications after regenerating a CMakeLists.txt file.

This substantially lowers the maintenance burden when regenerating
many files at once.

See the special_case_helper.py file for details on how it works.

Make sure to commit the generated .prev_CMakeLists.txt file alongside
your CMakeLists.txt changes.

To disable the preservation behavior, you can pass -s or
--skip-special-case-preservation to the script.

To keep around temporary files that are created during this process,
you can pass -k or --keep-temporary-files.

To get more debug output, pass --debug-special-case-preservation.

Fixes: QTBUG-75619
Change-Id: I6d8ba52ac5feb5020f31d47841203104c2a061d8
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-05-09 11:29:54 +00:00
..
tests Fix turned logic in RemoveOperation 2019-03-28 06:30:32 +00:00
cmakeconversionrate.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
configurejson2cmake.py CMake: scripts: Extract code to write find_package lines 2019-05-09 11:29:35 +00:00
generate_module_map.sh Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
helper.py CMake: scripts: Extract code to write find_package lines 2019-05-09 11:29:35 +00:00
Pipfile CMake: pro2cmake.py: Simplify conditions 2019-01-29 09:29:38 +00:00
pro2cmake.py Keep "special case" modifications when regenerating project files 2019-05-09 11:29:54 +00:00
pro_conversion_rate.py Add script to print out list of unconverted .pro files 2019-04-08 14:53:46 +00:00
run_pro2cmake.py Do not overwrite CMakeLists.txt when running run_pro2cmake 2019-03-28 12:29:44 +00:00
special_case_helper.py Keep "special case" modifications when regenerating project files 2019-05-09 11:29:54 +00:00