[CMake] CMAKE_CONFIGURATION_TYPES doesn't work?

David Cole david.cole at kitware.com
Wed Mar 9 11:11:50 EST 2011


Are you doing the "set" call before or after the "project" command?

This long-standing feature request asks to allow customization of the
available configuration types:
http://public.kitware.com/Bug/view.php?id=5811

I am not certain that customizing the list of configuration types works as
expected at the 100% level... There may be some nigglies that need to be
worked out with respect to the default settings of custom configurations.


HTH,
David


On Wed, Mar 9, 2011 at 9:31 AM, gekso <ev.93kso at gmail.com> wrote:

> No one knows?
>
> 2011/3/5 gekso <ev.93kso at gmail.com>:
> > Hello! One more question. I use 2.8.4 and I want to create my own
> > configurations for VS projects/solutions and remove defaults.
> > I use SET (CMAKE_CONFIGURATION_TYPES
> > "release;release_ascii;debug;debug_ascii" CACHE STRING "" FORCE), but
> > any time I run cmake - solution file contain both own and default
> > configurations.
> >
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.Debug|Win32.ActiveCfg =
> Debug|Win32
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.Release|Win32.ActiveCfg =
> Release|Win32
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.MinSizeRel|Win32.ActiveCfg =
> > MinSizeRel|Win32
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.RelWithDebInfo|Win32.ActiveCfg
> > = RelWithDebInfo|Win32
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.release|Win32.ActiveCfg =
> release|Win32
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.release_ascii|Win32.ActiveCfg =
> > release_ascii|Win32
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.debug|Win32.ActiveCfg =
> debug|Win32
> > {292119AC-DAF2-4C6E-BF54-79A5ABE5994C}.debug_ascii|Win32.ActiveCfg =
> > debug_ascii|Win32
> >
> > How can I remove Debug/Release/MinSizeRel/RelWithDebInfo?
> >
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110309/e9576f65/attachment-0001.htm>


More information about the CMake mailing list