[cmake-developers] $LIST_LENGTH{} syntax (was: Support for list length expression in if()-command?)

Brad King brad.king at kitware.com
Tue Jan 22 07:45:56 EST 2019


On 1/22/19 7:40 AM, Daniel Franke wrote:
> Whats about a Syntax like
> 
> ${list::LENGTH}

That would require dispatch after matching `${VAR}` syntax, and
that lookup is one of the hottest paths according to profiling.
We already have $ENV{} and $CACHE{} syntax.

-Brad


More information about the cmake-developers mailing list