[CMake] Parentheses in conditionals
Ken Martin
ken.martin at kitware.com
Thu Jun 26 15:03:34 EDT 2008
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
ken.martin at kitware.com
518 371 3971 (w/f)
More information about the CMake
mailing list