<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>windows paths...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>hi all,<BR>
<BR>
this is driving me a bit crazy and I'm sure someone on here has encountered this before.<BR>
<BR>
our build system is based on environment variables.<BR>
<BR>
the paths in the environment variables looks something like this:<BR>
S:\software\...<BR>
<BR>
When I feed that into cmake, I get errors like:<BR>
syntax error, unexpected cal_ERROR, ..... when parsing string "S:\software..."<BR>
<BR>
and "CMake Error: Invalid escape sequence \s"<BR>
<BR>
So, there must be a good way around this. I think my options are:<BR>
<BR>
1. change all the environment variables to things like: "S:/software/..."<BR>
2. change the environment variables to: "S:\\software\\"<BR>
<BR>
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.)<BR>
<BR>
Thoughts?<BR>
<BR>
-phil</FONT>
</P>
</BODY>
</HTML>