[Cmake] Strange

Miller, James V (Research) millerjv at crd.ge.com
Fri Aug 9 13:23:13 EDT 2002


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
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20020809/8c8f3cc6/attachment.html>


More information about the CMake mailing list