summaryrefslogtreecommitdiff
path: root/tools/appveyor-build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/appveyor-build.bat')
-rw-r--r--tools/appveyor-build.bat13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/appveyor-build.bat b/tools/appveyor-build.bat
new file mode 100644
index 0000000..73d555b
--- /dev/null
+++ b/tools/appveyor-build.bat
@@ -0,0 +1,13 @@
+@echo off
+
+if "%MSVC_VERSION%" == "10" goto msvc10
+
+call "C:\Program Files (x86)\Microsoft Visual Studio %MSVC_VERSION%.0\VC\vcvarsall.bat" amd64
+goto build
+
+:msvc10
+call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
+
+:build
+nmake
+