[cmake-developers] Default generator
Matthew Woehlke
mw_triad at users.sourceforge.net
Fri Apr 18 10:29:09 EDT 2014
On 2014-04-17 07:56, Peter Kümmel wrote:
> Is there a way to configure the default generator for command-line cmake
> calls?
If you're using bash: 'alias cmake="cmake -GNinja"' (for example)...
I'm not sure how folks would feel about having a different default built
into the cmake binary itself (and anyway this could only help you if you
build your own cmake), so probably it is going to be some environment
thing anyway. In which case it is probably just as easy to use an alias,
or write a wrapper script, or similar...
--
Matthew
More information about the cmake-developers
mailing list