CMake/Tests/RunCMake/Syntax/ForEachBracket1.cmake
Brad King b54dbebf62 Test foreach/function/macro handling of bracket arguments
Bracket arguments recorded in command invocations inside foreach,
function, and macro blocks should not have any replacements done when
the arguments are replayed later.  Teach the RunCMake.Syntax test to
cover these cases.
2013-10-30 19:13:41 -04:00

4 lines
56 B
CMake

foreach(x a b)
message([[${x}:]] "${x}")
endforeach()