Hi,
After reading the CMake 2.6 documentation, I'm not really clear on the
differences between a macro and a function. Could someone explain this in a
bit more detail? Based on the differences, which should I use?
___
Powered by www.kitware.com
Visit
The subtle difference is this line from the macro help section:
Note that the parameters to a macro and values such as ARGN are not
variables in the usual CMake sense. They are string replacements much
like the c preprocessor would do with a macro. If you want true CMake
variables you
Michael Jackson wrote:
The subtle difference is this line from the macro help section:
Note that the parameters to a macro and values such as ARGN are not
variables in the usual CMake sense. They are string replacements much
like the c preprocessor would do with a macro. If you want true