On 11/14/2013 12:09 PM, Daniele E. Domenichelli wrote:
> Is this a wanted behaviour? If it is, perhaps it should be documented in
> macro() command documentation.

The "macro" command documentation says:

 http://www.cmake.org/cmake/help/v2.8.12/cmake.html#command:macro
 Note that the parameters to a macro ... are not variables

The "if" command documentation says:

 http://www.cmake.org/cmake/help/v2.8.12/cmake.html#command:if
 Note macro arguments are not variables.

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to