Hi,

This was discussed here before:

 
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/6255/focus=6273

I don't think the idea to have quotedness determine whether 
add_custom_command expands a list into multiple arguments or consider it one 
argument is a good one.

Instead, I propose adding a $<EXPAND:...> generator expression which is only 
valid for the COMMAND section of add_custom_command (and probably 
add_custom_target), which indicates that the ... should be considered 
multiple arguments separated by ';'.

I pushed a proof of concept to my clone as EXPAND-genex. Any thoughts?

Thanks,

Steve.


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to