[CMake] Escaping semicolons in COMPILE_FLAGS on msvc

2010-10-18 Thread David Genest
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

Re: [CMake] Escaping semicolons in COMPILE_FLAGS on msvc

2010-10-18 Thread Michael Hertling
On 10/18/2010 06:50 PM, David Genest wrote: 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