Re: [CMake] Invalid escape sequence in macro

2019-03-12 Thread Ramold, Felix
hich will then try to handle escapes again. It seems like a function may be better for this sort of thing, but what does the actual use case look like? Regards, Steph -Original Message- From: CMake On Behalf Of Ramold, Felix Sent: Monday, March 11, 2019 8:20 AM To: cmake@cmake.org Subject

Re: [CMake] Invalid escape sequence in macro

2019-03-11 Thread Stephan.Szabo
case look like? Regards, Steph -Original Message- From: CMake On Behalf Of Ramold, Felix Sent: Monday, March 11, 2019 8:20 AM To: cmake@cmake.org Subject: [CMake] Invalid escape sequence in macro Hi, today i ran into an error with escape characters in macros. Is this a known issue? Is

[CMake] Invalid escape sequence in macro

2019-03-11 Thread Ramold, Felix
Hi, today i ran into an error with escape characters in macros. Is this a known issue? Is this by design? How can I workaround? Code: function(f STRING) message(STATUS ${STRING}) endfunction() macro(m STRING) message(STATUS ${STRING}) endmacro() set(CONTENT "bla bla \/\/") message(STATUS