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

2014-06-12 Thread Eric Noulard
2014-06-12 12:18 GMT+02:00 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 th

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

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

2014-06-11 Thread Rolf Eike Beer
Adam Strzelecki wrote: > 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. Mak

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

2014-06-11 Thread Nils Gladitz
On 11.06.2014 21:28, Adam Strzelecki wrote: 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

[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