[cmake-developers] $LIST_LENGTH{} syntax

Brad King brad.king at kitware.com
Tue Jan 22 13:59:29 EST 2019


On 1/22/19 1:31 PM, Torsten at Robitzki.de wrote:
> Currently, the Code that evaluates the ${}-Syntax only evaluates the key
> 
> const char* cmCommandArgumentParserHelper::ExpandSpecialVariable(

That's the pre-CMP0053 impl.

See cmMakefile::ExpandVariablesInStringNew for the modern impl.
Only with CMP0053 set to NEW can we consider the new syntax.

-Brad


More information about the cmake-developers mailing list