RE: [CMake] Possible bug in cmake version 2.4-patch 6 with macroargument testing

2007-05-29 Thread Trevor Kellaway
Ken, > A macro in cmake is a bit like a cpp macro. It is a string > replacement operation that replaces ${varname} with the > actual argument to the macro. > [...] > After string replacement of ${boolarg} with TRUE looks like > > MACRO (MYMACRO boolarg) > MESSAGE ("MYMACRO(TRUE)") >

RE: [CMake] Possible bug in cmake version 2.4-patch 6 with macroargument testing

2007-05-29 Thread Ken Martin
A macro in cmake is a bit like a cpp macro. It is a string replacement operation that replaces ${varname} with the actual argument to the macro. Then it executes the commands. At one point we considered (and tried) making the macro arguments be variables but there are existing projects out there th