[CMake] Parameters of functions

Micha Renner Micha.Renner at t-online.de
Fri May 13 00:52:29 EDT 2011


Am Donnerstag, den 12.05.2011, 17:10 +0200 schrieb Michael Wild:
> I agree, that this behaviour is due the fact that the parameter name
> "var" hides the parent-scope variable "var", but then ${${var}} should
> IMHO result in an error or warning message. Essentially, what this does
> inside the function is
> 
> set(var var)
> 
> which is hardly ever what is intended. 

Okay, now I understand it.

Thanks very much to all of you!

Micha




More information about the CMake mailing list