mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Updated quoting documentation
[SVN r12303]
This commit is contained in:
@@ -1249,7 +1249,18 @@ if $(MESSAGE) { ECHO The message is: $(MESSAGE) ; }
|
||||
characters separated by whitespace from being treated as separate
|
||||
arguments:
|
||||
<blockquote><pre>
|
||||
jam -sMSVCNT="\"C:\Program Files\Microsoft Visual C++\VC98\"" ...
|
||||
jam -sMSVCNT="\"\"C:\Program Files\Microsoft Visual C++\VC98\"\"" ...
|
||||
</pre></blockquote>
|
||||
|
||||
The outer quote is for the shell. The middle quote is for Jam,
|
||||
to tell it to take everything within those quotes literally, and
|
||||
the inner quotes are for the shell again when paths are passed
|
||||
as arguments to build actions. Under NT, it looks a lot more
|
||||
sane to use environment variables before invoking jam when you
|
||||
have to do this sort of quoting:
|
||||
|
||||
<blockquote><pre>
|
||||
set MSVCNT=""C:\Program Files\Microsoft Visual C++\VC98\""
|
||||
</pre></blockquote>
|
||||
|
||||
<h4><a name="jambase_replacement">Jambase Replacement</a></h4>
|
||||
|
||||
@@ -1249,7 +1249,18 @@ if $(MESSAGE) { ECHO The message is: $(MESSAGE) ; }
|
||||
characters separated by whitespace from being treated as separate
|
||||
arguments:
|
||||
<blockquote><pre>
|
||||
jam -sMSVCNT="\"C:\Program Files\Microsoft Visual C++\VC98\"" ...
|
||||
jam -sMSVCNT="\"\"C:\Program Files\Microsoft Visual C++\VC98\"\"" ...
|
||||
</pre></blockquote>
|
||||
|
||||
The outer quote is for the shell. The middle quote is for Jam,
|
||||
to tell it to take everything within those quotes literally, and
|
||||
the inner quotes are for the shell again when paths are passed
|
||||
as arguments to build actions. Under NT, it looks a lot more
|
||||
sane to use environment variables before invoking jam when you
|
||||
have to do this sort of quoting:
|
||||
|
||||
<blockquote><pre>
|
||||
set MSVCNT=""C:\Program Files\Microsoft Visual C++\VC98\""
|
||||
</pre></blockquote>
|
||||
|
||||
<h4><a name="jambase_replacement">Jambase Replacement</a></h4>
|
||||
|
||||
Reference in New Issue
Block a user