The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13111
======================================================================
Reported By: Christoph Anton Mitterer
Assigned To:
======================================================================
Project: CMake
Issue ID: 13111
Category: CMake
Reproducibility: always
Severity: feature
Priority: low
Status: new
======================================================================
Date Submitted: 2012-04-07 19:17 EDT
Last Modified: 2012-04-07 19:17 EDT
======================================================================
Summary: allow the option() command to use other binary
values than ON/OFF
Description:
Hi.
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.
Cheers,
Chris.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-04-07 19:17 Christoph Anton MittererNew Issue
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers