[CMake] Re: function and raise_scope commands
Rodolfo Schulz de Lima
rodolfo at rodsoft.org
Fri Jan 18 11:15:06 EST 2008
Miguel A. Figueroa-Villanueva wrote:
> Again, I think this behaviour is a quite unintuitive and should be
> well documented, at least.
I shall add that at first I expected 'raise_scope' to work like 'set'
when the parameter <value> is a list. But, for instance:
set(mylist item1 item2 item3)
set(var1 ${mylist})
raise_scope(var2 ${mylist})
in this example, var1 gets the 3 items, whereas var2 gets only 'item1'.
That's odd and also counterintuitive.
Regards,
rod
More information about the CMake
mailing list