Finding Ninja when building with build.cmake
In the Compile-on-the-command-line wiki page under the heading "Passing options to CMake" it shows how to specify building with Ninja by editing build_overrides.cmake.
It's unclear whether this is simply just an example of changing CONFIGURE_ARGS, or if it is a recommended edit.
But if I do include it, the build fails with
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
How do you define CMAKE_MAKE_PROGRAM? And what does choosing Ninja achieve? Just a build speedup?
Thanks.
(This is on Xubuntu 24.04)
Comments
I do not see the word musescore in your post. Does this have anything to do with the software or are you a spammer?
In reply to I do not see the word… by Asher S.
Good point. I should have said that it's the current MuseScore Studio master branch with the version number of 4.4
In reply to Good point. I should have… by peter.edwards
Casper Jeukendrup has answered this question in the #development Discord channel, so please ignore this post
In reply to Casper Jeukendrup has… by peter.edwards
No problem! I wouldn’t be able to help anyway haha 😁
Also there is absolutely TONS of spam going on on the other site so I am rather sensitive to things I don’t see how relate to MS.
In reply to No problem! I wouldn’t be… by Asher S.
No worries