cb299acc27
The `ARGC`/`ARGV#` variables in function scope hold the original arguments with no ;-list flattening. Add a way for functions to cleanly parse arguments that may contain `;`. This also avoids extra copying of the arguments. Co-Author: Brad King <brad.king@kitware.com>
5 lines
96 B
CMake
5 lines
96 B
CMake
function(test1)
|
|
cmake_parse_arguments(PARSE_ARGV 0 pref "" "" "" extra)
|
|
endfunction()
|
|
test1()
|