Hi,
Von: James Bigler <[EMAIL PROTECTED]> > I have some optional code that runs and creates some variables > > IF(MY_VAR) > SET(MY_OTHER_VAR 2) > ENDIF(MY_VAR) > > If I turn off MY_VAR, I want MY_OTHER_VAR to do away like this: > > IF(MY_VAR) > SET(MY_OTHER_VAR 2) > ELSE(MY_VAR) > DELETE(MY_OTHER_VAR) > ENDIF(MY_VAR) SET(MY_OTHER_VAR) or SET(MY_OTHER_VAR FALSE) should have the same effect, at least both will evaluate to false. Is this good enough or do you need more ? Bye Alex -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
