• stuartmorgan's avatar
    Switch to CMake for Linux desktop (#57238) · 8abf0a6d
    stuartmorgan authored
    Updates the Linux templates to use CMake+ninja, rather than Make, and updates the tooling to generate CMake support files rather than Make support files, and to drive the build using cmake and ninja.
    
    Also updates doctor to check for cmake and ninja in place of make.
    
    Note: While we could use CMake+Make rather than CMake+ninja, in testing ninja handled the tool_backend.sh call much better, calling it only once rather than once per dependent target. While it does add another dependency that people are less likely to already have, it's widely available in package managers, as well as being available as a direct download. Longer term, we could potentially switch from ninja to Make if it's an issue.
    
    Fixes #52751
    8abf0a6d
linux_doctor_test.dart 7.97 KB