[CMake] If syntax
David Doria
daviddoria at gmail.com
Sun May 1 16:30:51 EDT 2011
According to this:
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:if
the syntax is:
if(expression)
...
elseif(expression2)
...
else(expression)
...
endif(expression)
I was recently made aware that:
if(expression)
...
elseif(expression2)
...
else()
...
endif()
should also work. Should the documentation be updated to reflect this
possibility? Or are they different in some way?
David
More information about the CMake
mailing list