CMake/Tests/RunCMake/Syntax/StringNoSpace.cmake
Brad King f3155cd62a Add RunCMake.Syntax test to cover argument parsing
Test basic unquoted and quoted argument parsing cases including failure
on an unterminated string and an unterminated command invocation.  Also
cover arguments not separated by any spaces, which is accidentally
allowed by the current parser.
2013-08-08 13:26:26 -04:00

5 lines
134 B
CMake

# Quoted arguments may be immediately followed by another argument.
foreach(x "1 \${var} \\n 4""x"y)
message("[${x}]")
endforeach()