Brandon J. Van Every wrote:


I cannot find any well-defined point of control for escaping backslashes or quotes in strings and macros.  Different levels of CMake are consuming them differently.  This is preventing COMMAND from being usable in any kind of portable manner. 


I have determined that COMMAND consumes twice as many backslashes as an IF(...) statement.  This makes it impossible to pass around Windows native paths in strings; they are not reusable.  I've filed this as bug #3786.


Cheers,
Brandon Van Every

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to