On 06/05/2013 10:48 AM, Stephen Kelly wrote: > Brad King wrote: >> Can you present an argument for why it is not a good idea? > > As far as I remember, I couldn't find a way to implement it completely. > Unfortunately I don't remember the details and I don't seem to have my > experiments in a branch.
Yes, implementation will be tricky. However, I'd rather get it right than ask the user to explicitly markup expansion in a way that is different from how we've always done it. The steps are: (1) Introduce an internal command invocation API that allows a command to get at whether its argument was quoted or not. I've wanted to do this to fix the if() auto-dereferencing too. (2) Track through custom command lines whether an argument needs to be expanded at generate time. -Brad -- 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
