[cmake-developers] Weird behaviour of arguments in macro
Brad King
brad.king at kitware.com
Thu Nov 14 14:39:11 EST 2013
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
More information about the cmake-developers
mailing list