MantisBT - CMake
View Issue Details
0005946CMakeCMakepublic2007-10-24 09:192016-06-10 14:30
Oliver Schoen 
Bill Hoffman 
lowmajoralways
closedmoved 
 
 
0005946: Separation between Debug and Release builds
Taking the debug and release separation shown on Visual Studio to would be a good idea to port this to other targets - this could be made dependent to the environment variable DEBUG set or not or any other trigger that does not have an affect to CMakeCache.txt - it is not possible to run a debug and a release build on the same machine and same directory but different debug settings active.
No tags attached.
child of 0014539closed Kitware Robot Multiple output configurations 
Issue History
2007-10-24 09:19Oliver SchoenNew Issue
2007-10-24 09:24Oliver SchoenNote Added: 0009543
2007-11-19 10:20Alex NeundorfCategoryCCMake => CMake
2007-12-17 12:11Bill HoffmanNote Added: 0009952
2007-12-17 12:11Bill HoffmanStatusnew => assigned
2007-12-17 12:11Bill HoffmanAssigned To => Bill Hoffman
2007-12-18 10:30Bill HoffmanStatusassigned => closed
2007-12-18 10:30Bill HoffmanResolutionopen => unable to reproduce
2008-01-07 03:47Oliver SchoenStatusclosed => feedback
2008-01-07 03:47Oliver SchoenResolutionunable to reproduce => reopened
2008-01-07 03:47Oliver SchoenNote Added: 0010085
2008-01-07 08:30Bill HoffmanNote Added: 0010088
2008-01-18 13:00Oliver SchoenNote Added: 0010191
2008-05-09 14:45Philip LowmanNote Added: 0011785
2008-10-09 14:55Bill HoffmanStatusfeedback => acknowledged
2008-10-09 14:56Bill HoffmanPrioritynormal => low
2013-11-02 10:33Stephen KellyRelationship addedchild of 0014539
2016-06-10 14:27Kitware RobotNote Added: 0041397
2016-06-10 14:27Kitware RobotStatusacknowledged => resolved
2016-06-10 14:27Kitware RobotResolutionreopened => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0009543)
Oliver Schoen   
2007-10-24 09:24   
Actually this is a CMAKE issue and not CCMAKE
(0009952)
Bill Hoffman   
2007-12-17 12:11   
I am not sure what you want here?
(0010085)
Oliver Schoen   
2008-01-07 03:47   
When the MSVC generator creates project files they are mainly split into release and debug build trees and this is very helpful hence the obect files don not interfere with each other.

In the case of the Unix generator it creates a single make structure that cannot have independent debug and release builds.

With some cmake coding I managed to separate the whole cmake build tree but I believe it would be more appropriate to allow this on a more cmake base level without all this logic.

Best Regards,
Oliver
(0010088)
Bill Hoffman   
2008-01-07 08:30   
OK, so you want Debug/Release/etc directories with the makefile generators?
(0010191)
Oliver Schoen   
2008-01-18 13:00   
Yes it would be useful if you want to have a clean split.
(0011785)
Philip Lowman   
2008-05-09 14:45   
A multi-solution type Makefile generator might be a good idea for CMake in the long-term because it could start to remove the annoying differences people have when they write CMake code that relies on a single-solution generator but then one day discover that it won't work on a multi-solution generator (i.e. CMAKE_BUILD_TYPE).

Also it would make configuration faster for Unix users that consistently need to build multiple solution types (i.e. Debug and Release) because they wouldn't have to rely on a script to configure two separate build trees.
(0041397)
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.