Re: [cmake-developers] Passing lists with generator expression through add_custom_command

2017-08-15 Thread Raffi Enficiaud
Le 15.08.17 à 16:48, Brad King a écrit : On 08/13/2017 11:36 AM, Raffi Enficiaud wrote: -DALL_DEPENDENCIES="${ALL_DEPENDENCIES_FILES}" That is actually an unquoted argument whose value contains literal quotes. See the cmake-language(7) manual for details on the syntax. Switch it to "-D

Re: [cmake-developers] Passing lists with generator expression through add_custom_command

2017-08-15 Thread Brad King
On 08/13/2017 11:36 AM, Raffi Enficiaud wrote: > -DALL_DEPENDENCIES="${ALL_DEPENDENCIES_FILES}" That is actually an unquoted argument whose value contains literal quotes. See the cmake-language(7) manual for details on the syntax. Switch it to "-DALL_DEPENDENCIES=${ALL_DEPENDENCIES_FILES}"

[cmake-developers] Passing lists with generator expression through add_custom_command

2017-08-13 Thread Raffi Enficiaud
Hi CMake ML, I have a small issue concerning the way generator expressions are resolved when calling another process. Suppose I have this set(ALL_DEPENDENCIES_FILES) foreach(_device IN LISTS ALL_DEVICES) list(APPEND ALL_DEPENDENCIES_FILES $) endforeach() that creates a list containing gene