News for hackers. Stuff that matters.
Re:Coroutines are now in Clang trunk, libc++ by ihnorton on Friday May 26, 2017 @08:56AM (#14423664)
> What's wrong with Cmake?

One line summary:

    set(MYVAR 1234 CACHE FORCE PARENT_SCOPE)
Re:Coroutines are now in Clang trunk, libc++ by msoucy on Friday May 26, 2017 @09:40AM (#14423918)
Well you're trying to mix up two different function signatures...

    # Sets the MYVAR variable in the cache
    set(MYVAR 1234 CACHE STRING "" FORCE)
    # Sets MYVAR in the scope above the current level
    set(MYVAR 1234 PARENT_SCOPE
Though cmake is definitely not a "pretty" language... Don't get me started about lists.
Re:Coroutines are now in Clang trunk, libc++ by ihnorton on Friday May 26, 2017 @09:53AM (#14424018)
Sure... I should have just quoted the documentation, because the point is that any of these concepts exist:

    set(<variable> <value> [[CACHE <type> <docstring> [FORCE]] | PARENT_SCOPE])
> Don't get me started about lists.

Yes, by no means exhaustive!