CMake/Tests/RunCMake/Syntax/AtWithVariableAtOnly.cmake

9 lines
172 B
CMake

set(right "wrong")
set(var "\${right}")
# Expanded here.
set(ref "@var@")
# No dereference done at all.
string(CONFIGURE "${ref}" output @ONLY)
message("-->${output}<--")