[CMake] lexical scoping

Brandon Van Every bvanevery at gmail.com
Fri Nov 2 17:08:43 EDT 2007


On Nov 2, 2007 5:02 PM, KSpam <keesling_spam at cox.net> wrote:
> Bill,
>
> > set(a "world")
> > variable_scope_begin(a)
> > set(a "hello")
> > message(${a})
> > variable_scope_end(a)
> > message(${a})
>
> This would be a workable solution for me.  It would certainly be a step in the
> right direction, especially if it is easy enough to implement.  [...]
> The whole "begin ... end" construct gets to be tedious after a while.

Once it's introduced, we're gonna get stuck with it.  Please don't
just do what's expedient.  Do something that will increase the
likeability of CMake.


Cheers,
Brandon Van Every


More information about the CMake mailing list