mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +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
192 B
CMake
7 lines
192 B
CMake
function(fun x)
|
|
message([[${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}:]]
|
|
"${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}")
|
|
endfunction(fun)
|
|
fun(a n)
|
|
fun(b n)
|