mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 07:09:22 +00:00
b54dbebf62
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.
7 lines
186 B
CMake
7 lines
186 B
CMake
macro(mac x)
|
|
message([[${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}:]]
|
|
"${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}")
|
|
endmacro(mac)
|
|
mac(a n)
|
|
mac(b n)
|