CMake Port/Porting Guide: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Created page with "* Process of getting new CMakeLists.txt files, ideally: ** Run the conversion script pro2cmake.py ** Edit the places which fail by hand, add a comment "# special case" next to...")
 
No edit summary
Line 1: Line 1:
== Porting Notes ==
* Process of getting new CMakeLists.txt files, ideally:
* Process of getting new CMakeLists.txt files, ideally:
** Run the conversion script pro2cmake.py
** Run the conversion script pro2cmake.py

Revision as of 14:15, 23 May 2019

Porting Notes

  • Process of getting new CMakeLists.txt files, ideally:
    • Run the conversion script pro2cmake.py
    • Edit the places which fail by hand, add a comment "# special case" next to the manual changes, this helps with future git diffs when re-running the script.
    • When the conversion script was fixed, and it is re-run:
      • Either the code next to the comment is fixed automatically
      • Or the hand-edited version needs to be kept