Hi, 

I have tried and tried, but haven't succeeded to include a semicolon as a 
COMPILE_FLAGS property for a file. I turn to you for wisdom:

I need to get this as a result in the pre-processor definitions: 

MYPATH=\"d:\\;.\\Lib\"

But when I use the following escape sequence in set_source_files_properties:

set_source_files_properties(source.c PROPERTIES COMPILE_FLAGS 
"-DMYPATH=\\\"d:\\\;.\\\\Lib\\\"")

the generated result is: MYPATH=\"d:\\";".\\Lib\"

note the quoted semicolon. Is there a quoting workaround to allow unquoted 
semicolons?

Thank you,

David.
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to