Extra environment settings for Visual Studio
Oh yes, I’ve got plenty to do with Windows these days. Needing to get the compiler done up right so that we can build artifacts mechanically. For my own reference, here are the extra environment variables in which the compiler sets up in order to use Visual Studio from the command line:
APPVER=5.01
CL=/AI C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319
Configuration=Debug
CURRENT_CPU=x86
FrameworkVersion=v4.0.30319
INCLUDE=C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.1\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.1\INCLUDE\gl;
LIB=C:\Program Files\Microsoft Visual Studio 10.0\VC\Lib;C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\Microsoft.NET\Framework\v3.5;;
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\Microsoft.NET\Framework\v3.5;;C:\Program Files\Microsoft Visual Studio 10.0\VC\Lib;
ORIGINALPATH=C:\dev\openjdk-builds\utils\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Mercurial;C:\Program Files\TortoiseHg\
:: This is a modification of the path, see %ORIGINALPATH% above
Path=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\Microsoft.NET\Framework\v3.5;;C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools;;C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin;C:\Program Files\Microsoft Visual Studio 10.0\VC\Bin\VCPackages;;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools;C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin;;C:\dev\openjdk-builds\utils\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Mercurial;C:\Program Files\TortoiseHg\
PlatformToolset=Windows7.1SDK
sdkdir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
TARGET_CPU=x86
TARGET_PLATFORM=XP
ToolsVersion=4.0
WindowsSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
WindowsSDKVersionOverride=v7.1