Tobias Hunger wrote:

> On Wed, Mar 11, 2015 at 11:10 AM, Stephen Kelly
> <steve...@gmail.com> wrote:
>> * Make it possible for editors/IDEs to allow specifying the configuration
>>   at build-time, where the IDE has that feature, and where a multi-config
>>   generator is available.  That is, QtCreator provides user-interface for
>>   choosing debug/release config to build.  Currently it can't offer that
>>   when using cmake, because it only allows the use of Makefile or Ninja
>>   generators, in order to make use of the C::B file.  QtCreator should be
>>   able to use the Xcode or Visual Studio generators, generate the
>>   metadata file(s), and invoke `cmake --build . --config ${CONFIG}` as
>>   appropriate.  Eclipse, Sublime and other editors have similar abilities
>>   to invoke config-specific builds after generation.
> 
> We can offer debug/release even with different build directories in
> Creator. Those are just labels on the build configuration that
> includes the build directory and the configuration to be set up in
> that build.

Interesting. Is that already the case in Creator?

> For the other build systems it is completely safe to just nuke any
> build directory and creator will re-initialize it on the next build.
> That is unfortunately not the case with cmake at this time though: If
> you nuke a cmake build directory then creator will be completely lost
> about how to regenerate the configuration again.

Ah, is this why you asked before for the command line options passed to 
cmake before?

Why is it safe with other buildsystems but not cmake to nuke the build dir?

Thanks,

Steve.


-- 

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/mailman/listinfo/cmake-developers

Reply via email to