On Dec 18, 2007 10:02 AM, Pau Garcia i Quiles <[EMAIL PROTECTED]> wrote:
>
> What about doing the opposite of what Alex' patch did? What about
> making Y, YES, 1, ON synonyms? It's more or less what Brandon proposed
> but without introducing a BOOL(variable bool_value) command.

That's the exact opposite of why I made my proposal.  I want the Y,
YES, 1, ON, N, NO, OFF pollution *eliminated* from strings.  I
proposed bool(var [value]) because it doesn't break anything.  It
encapsulates the desired behavior in a type, same as a lot of
programming languages do.  Once encapsulated, I'd be free to
set_properties(GLOBAL PROPERTIES REQUIRE_BOOL TRUE) and get rid of the
string pollution.  I'm happy, the backwards compatible crowd is happy.


Cheers,
Brandon Van Every
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to