[CMake] windows paths...
Phil Pellouchoud
Phil at slacker.com
Mon May 12 00:35:26 EDT 2008
hi all,
this is driving me a bit crazy and I'm sure someone on here has encountered this before.
our build system is based on environment variables.
the paths in the environment variables looks something like this:
S:\software\...
When I feed that into cmake, I get errors like:
syntax error, unexpected cal_ERROR, ..... when parsing string "S:\software..."
and "CMake Error: Invalid escape sequence \s"
So, there must be a good way around this. I think my options are:
1. change all the environment variables to things like: "S:/software/..."
2. change the environment variables to: "S:\\software\\"
Neither of which will work in all circumstances (i.e. I think i'm going to have to hack around it no matter how I do it in some circumstances.)
Thoughts?
-phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080511/90acd8a0/attachment.htm>
More information about the CMake
mailing list