1 @echo off
2
3 if "%MSVC_VERSION%" == "10" goto msvc10
4
5 call "C:\Program Files (x86)\Microsoft Visual Studio %MSVC_VERSION%.0\VC\vcvarsall.bat" amd64
6 goto build
7
8 :msvc10
9 call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
10
11 :build
12 nmake
13