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. Makefile)? It just prints help, which is anyway > accessible via cmake -h/--help. > > This is really weird comparing to other tools such as ./configure, quake, > make, that do not expect any parameter to launch them up. > > Fortunately there is `cmake .`, but the dot is kinda superfluous.
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 everyone a lot of trouble. Eike -- -- 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://www.cmake.org/mailman/listinfo/cmake
