View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000408CMakepublic2003-11-26 10:302003-12-29 15:37
ReporterBrad King 
Assigned ToBrad King 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000408: Using -D without a type does not always work
DescriptionUsing -DMY_BOOL_SETTING=1 does not work if MY_BOOL_SETTING's type is not set by a listfile command. In particular the syntax cannot be used to set the value for an OPTION command which is probably the most common and intuitive use for it.

If the option was set with -D then it does not matter whether it shows up in the GUI, so we should have an UNINITIALIZED type that can be used to store the value in the cache when the type is not known.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0000422)
System Admin (reporter)
2003-12-29 15:26

Checking in Source/cmOptionCommand.cxx;
/cvsroot/CMake/CMake/Source/cmOptionCommand.cxx,v <-- cmOptionCommand.cxx
new revision: 1.19; previous revision: 1.18
done
(0000423)
Brad King (manager)
2003-12-29 15:37

Fix has been merged to 1.8 branch for 1.8.3 release.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team