SUMMARY It is these days possible to delegate building and installing to cmake. That allows switching to Ninja in a very easy fashion. cmake-options -GNinja If the default make command would be: cmake --build And the default install cmake --install EXPECTED RESULT Switching CMake to use Ninja should just work.
Currently, Ninja generator is already supported. Use cmake-generator Ninja config option. In the output you can see: Running cmake targeting Ninja... run_logged_command(): Module extra-cmake-modules, Command: cmake -B . -S /home/andrew/kde6/src/extra-cmake-modules -G Ninja -D... Compiling... run_logged_command(): Module extra-cmake-modules, Command: ninja -j 10 Installing extra-cmake-modules run_logged_command(): Module extra-cmake-modules, Command: ninja install
Please don't close bug reports for kdesrc-build just because the feature is in kde-builder. This is the kdesrc-build bug tracker, not the kde-builder bug tracker. Until kdesrc-build is formally archived, its bug reports should stay open.
But also, isn't Ninja already supported in kdesrc-build too? Looks like it is. Re-closing! 😅