blob: 2bbf61db39e8d691fd34c8072ddf22b80ad34835 (
plain)
1
2
3
4
5
6
7
8
9
|
set(right "wrong")
set(var "\${right}")
# Expanded here.
set(ref "@var@")
# 'right' is dereferenced because 'var' was dereferenced when
# assigning to 'ref' above.
string(CONFIGURE "${ref}" output)
message("-->${output}<--")
|