On 7/22/07, Brandon Van Every <[EMAIL PROTECTED]> wrote:
In my code, FILE(...) followed by
STRING(REGEX ...) is destroying the semicolons in the file. I need to
get to the bottom of that.
I found the problem. I was doing
FILE(WRITE CMakeLists.txt ${stream})
instead of
FILE(WRITE CMakeLists.txt "${stream}")
I ***HATE*** CMake list quote shennanigans. It's really dangerous.
The behavior isn't even documented anywhere, you learn lists vs.
strings by osmosis. There's got to be a safer way to do this stuff.
I'm not thinking of a better interface right now though. Someone lend
brainpower.
Cheers,
Brandon Van Every
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake