cmake/Tests/RunCMake/Syntax/AtWithVariableAtOnly.cmake

9 lines
172 B
CMake
Raw Normal View History

2015-04-27 22:25:09 +02:00
set(right "wrong")
set(var "\${right}")
# Expanded here.
set(ref "@var@")
# No dereference done at all.
string(CONFIGURE "${ref}" output @ONLY)
message("-->${output}<--")