Re: [CMake] Passing back list of files from Function

2012-05-11 Thread Michael Jackson
Thanks. Worked. -- Mike Jackson On May 11, 2012, at 3:40 PM, Alexander Neundorf wrote: > On Friday 11 May 2012, Michael Jackson wrote: > > I have a function where I am generating a number of files and I need to > > pass that list of files back to the original calling cmake > > command/file/scope

Re: [CMake] Passing back list of files from Function

2012-05-11 Thread Alexander Neundorf
On Friday 11 May 2012, Michael Jackson wrote: > I have a function where I am generating a number of files and I need to > pass that list of files back to the original calling cmake > command/file/scope. How would I go about that? > > > > function(create_files) > set(options) > set(multiValue

[CMake] Passing back list of files from Function

2012-05-11 Thread Michael Jackson
I have a function where I am generating a number of files and I need to pass that list of files back to the original calling cmake command/file/scope. How would I go about that? function(create_files) set(options) set(multiValueArgs GENERATED_HEADERS) cmake_parse_arguments( WIG "${option