View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001818CMakeCMakepublic2005-05-03 10:102008-01-30 17:32
ReporterJorgen Bodde 
Assigned ToBill Hoffman 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001818: Add a ADD_DEFINITIONS debug / optimized flag
DescriptionWhen compiling some libraries such as wxWidgets, it is very common to have __WXDEBUG__ added as debug flag at debug time only. It would be nice to have a distinction where one could add debug flags only to the compiler preprocessor flags. Such as,

ADD_DEFINITIONS(debug -D__WXDEBUG__)

Ofcourse this also means that REMOVE_DEFINITION needs to have a mechanism to distinct between debug or optimized.

Regards,
- Jorgen
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0003377closedBrad King Setting a symbol defined only for a given configuration. 

  Notes
(0010342)
Brad King (manager)
2008-01-30 17:32

There is now a COMPILE_DEFINITIONS property that has a per-configuration version at the directory, target, and source file level. It will be in CMake 2.6.

 Issue History
Date Modified Username Field Change
2008-01-30 17:32 Brad King Status assigned => closed
2008-01-30 17:32 Brad King Note Added: 0010342
2008-01-30 17:32 Brad King Resolution open => fixed
2008-01-30 17:39 Brad King Relationship added has duplicate 0003377


Copyright © 2000 - 2018 MantisBT Team