CMake/Tests/RunCMake/Syntax/AtWithVariableEmptyExpansio...

9 lines
187 B
CMake

# Literal since 'var' is not defined.
set(ref "@var@")
set(right "wrong")
set(var "\${right}")
# 'var' is dereferenced here.
string(CONFIGURE "${ref}" output)
message("-->${output}<--")