<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>Thanks Ken.
'Course wouldn't you know it, I just blew away my CVS checkout of
CMake</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>a couple of days
ago and started using the "official downloads". :)</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>The "IF/ELSE"
problem was something I noticed while trying to change how people here
build </FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>their proprietary
extensions to VXL. We have a set of CMakeLists files set up for the
proprietary</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>VXL classes that
works if you move the root level of the of proprietary code UNDER the
VXL</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>checkout. I
am trying to setup this proprietary code so that it can either built such that
it USES</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>VXL or is PART of
VXL. Hence my PROJECT command question from this
morning.</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>Given the
correction to the ELSE command, is there any chance that the arguments to
ELSE</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>and ENDIF can be
eliminated. It is confusing to people to see an IF and an ELSE with
the</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff size=2>same condition
(arguments).</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff
size=2>Jim</FONT></SPAN></DIV>
<DIV><SPAN class=937431217-09082002><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Ken Martin
[mailto:ken.martin@kitware.com]<BR><B>Sent:</B> Friday, August 09, 2002 12:59
PM<BR><B>To:</B> Miller, James V (Research); CMake developers
(E-mail)<BR><B>Subject:</B> RE: [Cmake] Strange<BR><BR></FONT></DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial size=2>Hey
Jim,</FONT></SPAN></DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial size=2>I checked in a
change for the handling of the IF statement to CVS so that the ELSE only
executes if the IF was not executed. I'd suggest not relying on this change
since it's not in CMake 1.4 patch 3. It will probably make it into patch
4 but I currently have no plans to require patch 4 for building VTK etc. Let
me know if it doesn't work correctly etc.</FONT></SPAN></DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial
size=2>Ken</FONT></SPAN></DIV>
<DIV><SPAN class=226000116-09082002><FONT face=Arial
size=2></FONT></SPAN> </DIV></BLOCKQUOTE></BODY></HTML>