[CMake] Bug in macro command

Filipe Sousa filipe at ipb.pt
Fri Jul 1 07:01:55 EDT 2005


The following code displays
-- 
-- xxx
-- Configuring done
-- Generating done

instead of 
-- xxx
-- xxx
-- Configuring done
-- Generating done

MACRO(foo var)
  SET(${var} "xxx")
ENDMACRO(foo)
 
foo(var)
MESSAGE(STATUS ${var})

foo(hello)
MESSAGE(STATUS ${hello})

I had to revert to revision 1.20 of cmMacroCommand.cxx otherwise my projects 
wont compile anymore.

-- 
Filipe Sousa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20050701/7aa63775/attachment.pgp


More information about the CMake mailing list