[CMake] Fwd: [CMake 0012398]: "IF" infamous <variable/string> functionality fails to work with macro arguments
John Drescher
drescherjm at gmail.com
Mon Aug 15 11:53:00 EDT 2011
On Mon, Aug 15, 2011 at 11:26 AM, David Cole <david.cole at kitware.com> wrote:
> Thanks, Michael...
>
> I'll give this another week or so here on the mailing list (and in the
> bug tracker) to gather feedback.
>
> If I don't hear anything else, I'll consider changing some
> documentation to clarify the existing situation, but I don't see a
> reasonable way to accommodate this feature request *and* maintain
> backwards compatibility with existing real world uses of macro and if
> commands.
>
I would like to see the documentation expanded to better explain the
differences between a function and a macro. Before this discussion I
have never used a function (did not understand what that gave me over
a macro) however I have ran into this problem with using if statements
in macros.
John
More information about the CMake
mailing list