Consider the following snippet
cmake_minimum_required(VERSION 2.8)
include (CMakeParseArguments)
function(foo)
set(options)
set(one_valued)
set(multi_valued)
cmake_parse_arguments(_ ${options} ${one_valued} ${multi_valued}
${ARGN})
message(${__UNPARSED_ARGUMENTS})
On Monday 11 March 2013, Luc J. Bourhis wrote:
Consider the following snippet
cmake_minimum_required(VERSION 2.8)
include (CMakeParseArguments)
function(foo)
set(options)
set(one_valued)
set(multi_valued)
cmake_parse_arguments(_ ${options} ${one_valued}