[CMake] Re: function and raise_scope commands
Rodolfo Lima
rodolfo at rodsoft.org
Fri Jan 18 19:00:41 EST 2008
Alexander Neundorf escreveu:
> Is propagating the value up to the parent directory really a good idea ? If
> people want to do that (get some information from somewhere deep in the tree
> up to some other place) they can use a global property.
> I feel like removing the else{} part in cmMakefile::RaiseScope()...
raise_scope(var1)
could do something like set(var1 ${var1} PARENT_SCOPE)
At least its name would make sense.
Regards,
rod
More information about the CMake
mailing list