[Cmake] Strange
Miller, James V (Research)
millerjv at crd . ge . com
Fri, 9 Aug 2002 13:23:13 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C23FC9.70EC6ABA
Content-Type: text/plain;
charset="iso-8859-1"
Thanks Ken. 'Course wouldn't you know it, I just blew away my CVS checkout of CMake
a couple of days ago and started using the "official downloads". :)
The "IF/ELSE" problem was something I noticed while trying to change how people here build
their proprietary extensions to VXL. We have a set of CMakeLists files set up for the proprietary
VXL classes that works if you move the root level of the of proprietary code UNDER the VXL
checkout. I am trying to setup this proprietary code so that it can either built such that it USES
VXL or is PART of VXL. Hence my PROJECT command question from this morning.
Given the correction to the ELSE command, is there any chance that the arguments to ELSE
and ENDIF can be eliminated. It is confusing to people to see an IF and an ELSE with the
same condition (arguments).
Jim
-----Original Message-----
From: Ken Martin [mailto:ken . martin at kitware . com]
Sent: Friday, August 09, 2002 12:59 PM
To: Miller, James V (Research); CMake developers (E-mail)
Subject: RE: [Cmake] Strange
Hey Jim,
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.
Thanks
Ken
------_=_NextPart_001_01C23FC9.70EC6ABA
Content-Type: text/html;
charset="iso-8859-1"
<!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 at 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>
------_=_NextPart_001_01C23FC9.70EC6ABA--