summaryrefslogtreecommitdiff
path: root/app/openvpn/msvc-build.bat
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-06-05 00:02:09 +0200
committerParménides GV <parmegv@sdf.org>2015-06-05 00:02:09 +0200
commit8d39fbdb4980c95268249f21f3c6b8e36b22cf90 (patch)
tree5e54d8cc7ea06fdcf1aa88fd7fd54ec569a8b7a3 /app/openvpn/msvc-build.bat
parent8dc4f58d96892fbfd83094fb85b1d17656035290 (diff)
parent3e849c7cbe847d9260dee7a29b241c8aef185f6d (diff)
Merge branch 'feature/Update-ics-openvpn-from-GitHub-#7087' into develop
Diffstat (limited to 'app/openvpn/msvc-build.bat')
-rw-r--r--app/openvpn/msvc-build.bat48
1 files changed, 0 insertions, 48 deletions
diff --git a/app/openvpn/msvc-build.bat b/app/openvpn/msvc-build.bat
deleted file mode 100644
index fd6d5588..00000000
--- a/app/openvpn/msvc-build.bat
+++ /dev/null
@@ -1,48 +0,0 @@
-@echo off
-rem Copyright (C) 2008-2012 Alon Bar-Lev <alon.barlev@gmail.com>
-
-@rem this stupid command needed for SetEnv.cmd to operate
-setlocal ENABLEDELAYEDEXPANSION
-
-cd /d %0\..
-call msvc-env.bat
-
-set PLATFORMS=Win32
-set CONFIGURATIONS=Release
-
-if exist "%VCHOME%\vcvarsall.bat" (
- call "%VCHOME%\vcvarsall.bat"
-) else if exist "%VCHOME%\bin\vcvars32.bat" (
- call "%VCHOME%\bin\vcvars32.bat"
-) else (
- echo Cannot detect visual studio
- goto error
-)
-
-msbuild /help > nul 2>&1
-if errorlevel 1 set DO_VCBUILD=1
-
-for %%p in (%PLATFORMS%) do (
- for %%c in (%CONFIGURATIONS%) do (
- rmdir /q /s %SOURCEBASE%\%%p\%%c > nul 2>&1
-
- if "%DO_VCBUILD%" NEQ "" (
- vcbuild /errfile:error.log /showenv "%SOLUTION%" /rebuild /platform:%%p "%%c|%%p"
- for %%f in (error.log) do if %%~zf GTR 0 goto error
- ) else (
- msbuild "%SOLUTION%" /p:Configuration="%%c" /p:Platform="%%p"
- if errorlevel 1 goto error
- )
- )
-)
-
-exit /b 0
-goto end
-
-:error
-exit /b 1
-goto end
-
-:end
-
-endlocal