I just checked in a change for feature request #6191,  you can now (in CVS
CMake) use parentheses in if and while command conditionals. E.g.

if (2 GREATER 1 AND (4 LESS 3 OR 5 LESS 6) AND NOT (7 GREATER 8))
   message("")
endif()

evaluation of parenthetical groups has the highest order of precedence. If
you bump into any problems with this let me know.

Thanks
Ken

Ken Martin PhD
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
[EMAIL PROTECTED]
518 371 3971 (w/f)


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

Reply via email to