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>
4 lines
74 B
CMake
4 lines
74 B
CMake
set(ARGC 1)
|
|
cmake_parse_arguments(PARSE_ARGV 0 pref "" "" "")
|
|
unset(ARGC)
|