CMake/Tests/RunCMake/Syntax/EscapeQuotes.cmake

10 lines
204 B
CMake

set(var "\"")
set(ref "@var@")
set(rref "\${var}")
string(CONFIGURE "${ref}" output ESCAPE_QUOTES)
message("-->${output}<--")
string(CONFIGURE "${rref}" output ESCAPE_QUOTES)
message("-->${output}<--")