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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake