summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/AtWithVariableAtOnly.cmake
blob: e06484c226ef62e83129f1d928aa761fe2ca8c70 (plain)
1
2
3
4
5
6
7
8
set(right "wrong")
set(var "\${right}")
# Expanded here.
set(ref "@var@")

# No dereference done at all.
string(CONFIGURE "${ref}" output @ONLY)
message("-->${output}<--")