On 2007-05-28 23:17+0100 Trevor Kellaway wrote:

Alan,

Do you concur the following is a real problem?

No, but then I am not really a CMake expert.  Instead, I am a
goal-oriented CMake user (i.e., I just want PLplot or
whatever to build with no problems) so I just try stuff until
something works.

Same here, my primary aim is to get the build system running so I can
get on with the real project work.


That result (obtained by using an extra ${} for macro
parameters ) seems fine to me, but perhaps I have worked
around a bug so long in CMake that I am just not sensitive to
something that may be legitimately bothering you.

It is more the case that the "IF (var)" form works except in this macro
case, and had me stumped for several minutes before I realised what was
going on.

This doesn't really bother me, I just think CMake should be consistent
in the macro case, to stop others falling into the same trap.

Maybe you are right.  Time for the experts to chime in on this.

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 libLASi project (unifont.org/lasi); 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

Reply via email to