MantisBT - CMake
View Issue Details
0005811CMakeCMakepublic2007-10-01 11:262016-06-10 14:30
Tal Blum 
Bill Hoffman 
normalfeaturealways
closedmoved 
 
 
0005811: Creating new configurations for MSVC
Although the documentations explains how to define a new configuration (called Maintener), in MSVC this doesn't work as one can't extend CMAKE_CONFIGURATION_TYPES. I would like to request a feature so that new configurations would be allowed to be defined for MSVC.

Thanks, Tal
No tags attached.
Issue History
2007-10-01 11:26Tal BlumNew Issue
2007-10-12 09:45Bill HoffmanStatusnew => assigned
2007-10-12 09:45Bill HoffmanAssigned To => Bill Hoffman
2007-10-12 13:23Tal BlumNote Added: 0009449
2012-12-20 08:22ParisNote Added: 0031930
2013-01-10 17:08Jonathan M DavisNote Added: 0032095
2013-09-02 08:56nomorganNote Added: 0033771
2016-06-10 14:27Kitware RobotNote Added: 0041387
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0009449)
Tal Blum   
2007-10-12 13:23   
Some people on the mailing list suggested how to fix the code so that it would be possible to add a new configuration. There is however more than that to configurations in MSVC. In my group each project has it's own configurations and there is also a mapping between global configurations and model configurations. For example in my project when choose a global English_Release configuration, some libraries my be compiled under a Release configuration. I am not sure you want to implement this, but I thought I should mention that.
(0031930)
Paris   
2012-12-20 08:22   
We deeply need that feature as well.

I have tried something from the FAQ: http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_specify_my_own_configurations_.28for_generators_that_allow_it.29_.3F [^]

This does not work.
When trying to change the CMAKE_CONFIGURATION_TYPES to only Debug;Release, the cache is not properly updated and keep the old values: Debug;Release;MinSizeRel;RelWithDebInfo

System: Win 7 Pro
IDE: VS9
(0032095)
Jonathan M Davis   
2013-01-10 17:08   
Is there a technical reason why this hasn't been implemented yet, or is it just that no one has gotten around to working on it?
(0033771)
nomorgan   
2013-09-02 08:56   
A workaround here : http://www.cmake.org/pipermail/cmake/2012-January/048856.html [^]
(0041387)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.