Re: [cmake-developers] Default generator

2014-04-18 Thread Matthew Woehlke

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

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

[cmake-developers] Default generator

2014-04-17 Thread Peter Kümmel

Is there a way to configure the default generator for command-line cmake calls?

If it's not configurable, what about reading a default from a environment 
variable?

Peter
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers