summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/msvc.xml
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2010-02-12 00:39:58 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2010-02-12 00:39:58 (GMT)
commit554a19d68c75acddb5928e3c696f1b87c2f0cec9 (patch)
treeb0664ec052538fa56ee4f37b58a15bb534fb8582 /src/engine/SCons/Tool/msvc.xml
parent323fce91805194f59a1ed9dd783e71ebabbd4104 (diff)
downloadSCons-554a19d68c75acddb5928e3c696f1b87c2f0cec9.zip
SCons-554a19d68c75acddb5928e3c696f1b87c2f0cec9.tar.gz
SCons-554a19d68c75acddb5928e3c696f1b87c2f0cec9.tar.bz2
Add documentation for MSVC_USE_SCRIPT.
Diffstat (limited to 'src/engine/SCons/Tool/msvc.xml')
-rw-r--r--src/engine/SCons/Tool/msvc.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/msvc.xml b/src/engine/SCons/Tool/msvc.xml
index f4be770..c2fed86 100644
--- a/src/engine/SCons/Tool/msvc.xml
+++ b/src/engine/SCons/Tool/msvc.xml
@@ -288,6 +288,20 @@ value (e.g. "XXX") to see the valid values on your system.
</summary>
</cvar>
+<cvar name="MSVC_USE_SCRIPT">
+<summary>
+Use a batch script to set up Microsoft Visual Studio compiler
+
+&cv-MSVC_USE_SCRIPT; overrides &cv-MSVC_VERSION; and &cv-TARGET_ARCH;.
+If set to the name of a Visual Studio .bat file (e.g. vcvars.bat),
+SCons will run that bat file and extract the relevant variables from
+the result (typically %INCLUDE%, %LIB%, and %PATH%). Setting
+MSVC_USE_SCRIPT to None bypasses the Visual Studio autodetection
+entirely; use this if you are running SCons in a Visual Studio cmd
+window and importing the shell's environment variables.
+</summary>
+</cvar>
+
<cvar name="HOST_ARCH">
<summary>
Sets the host architecture for Visual Studio compiler. If not set,