[CMake] cmake_parse_arguments and empty strings

2013-03-11 Thread Luc J. Bourhis
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})

Re: [CMake] cmake_parse_arguments and empty strings

2013-03-11 Thread Alexander Neundorf
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}