summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/AtWithVariableEmptyExpansionAtOnly.cmake
blob: b657506be767bd654a3b11aea0266f60c425365c (plain)
1
2
3
4
5
6
7
8
# Literal since 'var' is not defined.
set(ref "@var@")
set(right "wrong")
set(var "\${right}")

# 'var' is dereferenced, but now 'right'
string(CONFIGURE "${ref}" output @ONLY)
message("-->${output}<--")