On 2007-04-04 11:45-0500 Matthew Woehlke wrote:
I found this: http://www.cmake.org/pipermail/cmake/2006-September/011115.html
There is also mention of 'ELSEIF' in the CMake manpage (2.4.6), but it
doesn't seem to work. Was this implemented? If yes, can someone give a simple
example of using it? If no, why does the manpage mention it?
It works fine just exactly like in the original proposal you found in the
link above. See, e.g.,
http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/drivers-finish.cmake?view=markup
for an example.
However, the ELSEIF feature is virtually undocumented at this moment, and I
hope this is fixed in 2.4.7. The 2.4.6 documentation says essentially see
the IF statement, but ELSEIF is not mentioned in that documentation at all.
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake