View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013111CMakeCMakepublic2012-04-07 19:172012-09-03 16:00
ReporterChristoph Anton Mitterer 
Assigned ToBrad King 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0013111: allow the option() command to use other binary values than ON/OFF

Currently the option command allows only ON and OFF and the CMake UIs then switch between those two.

Please allow the other boolean literals (e.g. TRUE/FALSE, 0/1, YES/NO to be specified.
If they are used, the UIs should obviously also switch between them and not ON/OFF.

The rationale is that for some options(names) e.g. YES/NO fits much better.
Consider you have LIBFOO_ENABLED.... you wouln't say ON/OFF but rather YES/NO or TRUE/FALSE.

TagsNo tags attached.
Attached Files


Brad King (manager)
2012-04-09 09:03

Issues 0013083, 0013089, 0013090, 0013091, 0013092, 0013109, and 0013111 are all interesting suggestions but the issue tracker is not a good place to discuss them. The user list is a better place for discussion because it may attract interest from others, and in particular from potential contributors. Others may also suggest alternative solutions.
David Cole (manager)
2012-09-03 16:00

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-04-07 19:17 Christoph Anton Mitterer New Issue
2012-04-09 09:03 Brad King Note Added: 0029093
2012-04-09 09:03 Brad King Status new => resolved
2012-04-09 09:03 Brad King Resolution open => suspended
2012-04-09 09:03 Brad King Assigned To => Brad King
2012-09-03 16:00 David Cole Note Added: 0030843
2012-09-03 16:00 David Cole Status resolved => closed

Copyright © 2000 - 2018 MantisBT Team