diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 13:37:21 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 13:37:21 +0100 |
commit | 09863e30b4f27257be0299024d5a0de255f8ea84 (patch) | |
tree | 4176d07d460e015deffa29b82a4164561ff413c6 /vcvars32.bat | |
parent | 715160edeb4dfc4335f8def440806ad0d5307fec (diff) | |
parent | 1847c61e3994e17e1bd793a4fdc9f7860023826b (diff) |
Merge branch 'release/3.0.7-1'3.0.7-1
Diffstat (limited to 'vcvars32.bat')
-rwxr-xr-x | vcvars32.bat | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vcvars32.bat b/vcvars32.bat new file mode 100755 index 0000000..3a2b316 --- /dev/null +++ b/vcvars32.bat @@ -0,0 +1,28 @@ +@echo off
+REM Copy saved 32bit libraries into place, if present
+REM iphlpapi.lib libeay32.dll libeay32.lib ssleay32.dll ssleay32.lib
+REM Modify SAVLIB32 to a directory where these libs are saved.
+set SAVLIB32=lib\x32
+IF NOT EXIST %SAVLIB32% GOTO NOSAVLIB
+copy /Y %SAVLIB32%\*.lib lib
+copy /Y %SAVLIB32%\*.dll util
+REM (do not copy mak) copy /Y util\x32\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 32bit vcvars
+set VCBAT="%VCDIR%\bin\vcvars32.bat"
+IF EXIST %VCBAT% GOTO RUNVC
+echo "Cannot locate vcvars32.bat, please run it manually."
+GOTO DONE
+:RUNVC
+%VCBAT%
+:DONE
|