Alexander Neundorf wrote:
On Monday 17 December 2007, Brandon Van Every wrote:
I propose the addition of a BOOL type to the CMake language.

  bool(variable [value])

would declare a variable of type BOOL, with an optional value
supplied.  Any SET commands performed on the variable in its scope
would be subject to boolean type constraint.  A BOOL can take on the
following values.  Any other assignment is an error.

  "TRUE" class - TRUE, 1, Y, Yes, YES, y, yes, ON
  "FALSE" class - FALSE, 0, N, n, No, NO, OFF, <empty>

Attached is a patch which removes "Y" and "N" from the recognized values for true/false. This patch may break stuff. I don't know if there are many people who rely on "N" and "Y".


I am sure it will break something....  I don't think we can change it now.

-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to