CMake/Tests/RunCMake/Syntax/ExpandInAt.cmake

7 lines
119 B
CMake

set("\${varname}" bar)
set(var foo)
set(ref "@\${var}@")
string(CONFIGURE "${ref}" output)
message("-->${output}<--")