summaryrefslogtreecommitdiff
path: root/vcvars64.bat
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-09-26 05:07:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-09-26 05:07:46 +0200
commitb3d606e872350e5d160c5a9a6b5ec5b498e26e3c (patch)
tree6f3ceb0722cb4b9a3ed0b2e1f6c0bf06052e7e83 /vcvars64.bat
parent64529036a8d742cc45f4b35085205c86ab46b5e0 (diff)
parent4b28a392fa890390755f58e0755ab56e8edaa295 (diff)
Updated version 3.0.7 from 'upstream/3.0.7'
with Debian dir 8e805e19fa4d25d96a0772c0f753a89a30c8f069
Diffstat (limited to 'vcvars64.bat')
-rwxr-xr-xvcvars64.bat28
1 files changed, 28 insertions, 0 deletions
diff --git a/vcvars64.bat b/vcvars64.bat
new file mode 100755
index 0000000..1e5f125
--- /dev/null
+++ b/vcvars64.bat
@@ -0,0 +1,28 @@
+@echo off
+REM Copy saved 64bit libraries into place, if present
+REM iphlpapi.lib libeay32.dll libeay32.lib ssleay32.dll ssleay32.lib
+REM Modify SAVLIB64 to a directory where these libs are saved.
+set SAVLIB64=lib\x64
+IF NOT EXIST %SAVLIB64% GOTO NOSAVLIB
+copy /Y %SAVLIB64%\*.lib lib
+copy /Y %SAVLIB64%\*.dll util
+REM (do not copy mak) copy /Y util\x64\ipmiutil.mak util
+:NOSAVLIB
+REM sample VCINSTALLDIR from VS 2008
+set VCDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
+IF DEFINED VCINSTALLDIR GOTO HAVEVC
+IF DEFINED VSINSTALLDIR GOTO HAVEVS
+GOTO HAVEDEF
+:HAVEVS
+set VCDIR=%VSINSTALLDIR%\VC
+:HAVEVC
+set VCDIR=%VCINSTALLDIR%
+:HAVEDEF
+REM Run MS 64bit vcvars
+set VCBAT="%VCDIR%\bin\x86_amd64\vcvarsx86_amd64.bat"
+IF EXIST %VCBAT% GOTO RUNVC
+echo "Cannot locate vcvars for amd64, please run it manually."
+GOTO DONE
+:RUNVC
+%VCBAT%
+:DONE