[CMake] Eclipse Generator and Configuration
Pierre-Julien Villoud
PVilloud at movea.com
Wed May 20 09:13:06 EDT 2009
Ok... Thanks for your answer.
I'm surprised this feature is not integrated yet in cmake since it's very common to switch configuration when you're working with an IDE. Now the IDE project files generators don't seem so interesting for me...
I have to add the custom target Debug and Release in which I call cmake with the CMAKE_BUILD_TYPE corresponding to the configuration...
Thanks anyway I will be looking closely to the future versions of cmake !
-----Message d'origine-----
De : Jesper Eskilson [mailto:jesper.eskilson at iar.se]
Envoyé : mercredi 20 mai 2009 15:03
À : Pierre-Julien Villoud
Cc : cmake at cmake.org
Objet : Re: [CMake] Eclipse Generator and Configuration
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