[CMake] Re: TRY_COMPILE painful for tool testing

Brandon J. Van Every bvanevery at gmail.com
Thu Sep 21 00:00:08 EDT 2006


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060920/dfcd4fdb/attachment.html


More information about the CMake mailing list