Re: [CMake] CMake and user friendliness

2014-09-22 Thread Adam Strzelecki
Please install cmake bash_completion and then it will be easy as typing: cmake -D --Adam -- 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 infor

Re: [CMake] Feature Request: CMAKE_GENERATOR environment variable for default generator

2014-06-12 Thread Adam Strzelecki
>alias c=''\''C:/Program Files (x86)/CMake/bin/cmake.exe'\'' -G Ninja' Aliasing is kind of solution I use now, since cmake allows -G specified twice. But IMHO environment variable would be nice addition. Btw. not using Windows here ;) Cheers, -- Adam -- Powered by www.kitware.com Please

[CMake] Feature Request: CMAKE_GENERATOR environment variable for default generator

2014-06-12 Thread Adam Strzelecki
Long story short currently default generator is hard-coded in CMake depending on platform. It would be convenient to let user specify it's favorite generator in .profile/.bash_profile so it spares lot of command line typing. I'd love to make CMAKE_GENERATOR=Ninja then :) WDYT? -- Adam -- Po

Re: [CMake] Why simple `cmake` does not launch default generator on current directory?

2014-06-12 Thread Adam Strzelecki
> Because that would create an in-source build, and you almost never want that. > One wants to build out of source. Sadly CMake will stumble if you try to > create an out-of-source build from a directory that is an in-source build, so > not having that default of "cmake ." actually saves everyon

[CMake] Why simple `cmake` does not launch default generator on current directory?

2014-06-11 Thread Adam Strzelecki
Hello, We started using CMake recently in our projects. And it is really a timesaver comparing to Qmake/autotools, however there is one thing that bothers me. Why typing simple: cmake in command line doesn't trigger configure with default generator (i.e. Makefile)? It just prints help, which is