CMake Port/Porting Guide

From Qt Wiki
Jump to navigation Jump to search

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