On Fri, Feb 21, 2014 at 17:11:27 -0500, Brad King wrote: > By limiting the change to quoted and bracket arguments we preserve > existing behavior in common existing code but allow authors to protect > themselves by quoting.
That also means I can't protect my code from things like: set(evil "" STREQUAL bogus OR TRUE OR "") if (PREFIX_${evil}_SUFFIX) message("Evil prevails") endif () by quoting the 'evil' expansion (these corner cases pop into my head whenever I'm reading or thinking about quoting rules and such...I blame writing a lot of shell code and being paranoid about things being safe). --Ben -- 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