View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009940CMakeCMakepublic2009-11-21 06:542010-12-14 17:01
ReporterSoeren Textor 
Assigned ToBrad King 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0009940: support for COMPILE_FLAG_<CONFIG>
DescriptionServeral projects in my VS solution files need different CXX flags (not only for debug and release).

e.g.

sln
|
|- foo.lib: debug: /MTd, release /MT
|
|- foo.dll: debug: /MDd, release /MDd
|
|- foo.exe: debug: /MTs, release /MT

Right now in CMake different compiler flags can bee configured for different configurations by changing the global directory variable CXX_FLAGS_<CONFIG>.

A feature like as LINK_FLAGS_<CONFIG> is still outstanding
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0006493closedStephen Kelly configuration dependent COMPILE_FLAGS for SET_TARGET_PROPERTIES 

  Notes
(0023977)
David Cole (manager)
2010-12-14 16:24

Brad, is this feature complete yet? (As in: per-config versions of at least compile flags and link flags?)
(0023981)
Brad King (manager)
2010-12-14 16:58

http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:LINK_FLAGS_CONFIG [^]
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:COMPILE_DEFINITIONS_CONFIG [^]
(0023982)
Brad King (manager)
2010-12-14 17:00

http://public.kitware.com/Bug/view.php?id=6493#c21590 [^]
(0023983)
Brad King (manager)
2010-12-14 17:01

Closing as duplicate of 0006493.

 Issue History
Date Modified Username Field Change
2009-11-21 06:54 Soeren Textor New Issue
2010-12-14 16:23 David Cole Assigned To => Brad King
2010-12-14 16:23 David Cole Status new => assigned
2010-12-14 16:24 David Cole Note Added: 0023977
2010-12-14 16:58 Brad King Note Added: 0023981
2010-12-14 17:00 Brad King Note Added: 0023982
2010-12-14 17:00 Brad King Relationship added duplicate of 0006493
2010-12-14 17:01 Brad King Note Added: 0023983
2010-12-14 17:01 Brad King Status assigned => closed
2010-12-14 17:01 Brad King Resolution open => duplicate


Copyright © 2000 - 2018 MantisBT Team