On Jan 30, 2008 9:53 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > My guess is YES, etc., are being interpreted > as (undefined) variable names
Yep, that's exactly what's happening. The macro expands to things like if(YES) and the variable YES has not been defined. A month or so ago I made a feature request to define TRUE and FALSE as constants. http://www.cmake.org/Bug/view.php?id=5835 I've now made a note that perhaps YES, NO, ON, and OFF should be defined as constants as well. I don't believe Y and N should be defined as constants. Frankly I think they should be removed as true/false values. Cheers, Brandon Van Every _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
