Re: [CMake] unusual strings

2008-10-17 Thread David Cole
CMake does not support "C" style string constants like that. It supports escaping of a specific set of characters with the \ character. \\ \" \n and \$ are all valid escape sequences. I will have to look up in the source code to see what other valid escape sequences there are, but octal strings ar

[CMake] unusual strings

2008-10-17 Thread Micha Renner
Hello, what is wrong with this command: SET(INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014 \015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036 \037 \177/") Resulting error: syntax error, unexpected cal_ERROR, expecting $end (127), when parsing string "\