[CMake] Eclipse Generator and Configuration

Jesper Eskilson jesper.eskilson at iar.se
Wed May 20 09:02:54 EDT 2009


Pierre-Julien Villoud wrote:
> Hello everyone,
> 
> I'm trying to use the Eclipse CDT4 - MinGW Makefiles generator to
> generate the Eclipse project files. My problem is that it is not
> possible to choose the configuration (Debug or Release) from the
> Eclipse platform. Is there any way to make this possible or do I have
> to specify the configuration when I call cmake with the option
> -DCMAKE_BUILD_TYPE:STRING=xxx (xxx = Debug or Release).

I believe you need to rerun CMake to switch configuration.

I'd like to implement a revamped, GNU-make-only, Makefile-generator for 
CMake with support for selecting configuration at runtime. But day does 
not have enough hours, I'm afraid.

-- 
/Jesper



More information about the CMake mailing list