[cmake-developers] Weird behaviour of arguments in macro

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Thu Nov 14 12:09:38 EST 2013


Hello,

When calling a macro, the variables can be dereferenced but they are not
DEFINED, and the list() command fails in several way (please have a look
at the attached test for more details)

Is this a wanted behaviour? If it is, perhaps it should be documented in
macro() command documentation.


Cheers,
 Daniele

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cmake
Type: text/x-cmake
Size: 2164 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20131114/032f012e/attachment-0002.bin>


More information about the cmake-developers mailing list