diff options
author | Arne Schwabe <arne@rfc2549.org> | 2015-04-15 00:17:26 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2015-04-15 00:20:23 +0200 |
commit | c3ae4aaac9f0b168aed063d3e86c5196608eaba1 (patch) | |
tree | 1a18e7d8751d4dd3682d82d12c8441b335112984 /main/openvpn/msvc-build.bat | |
parent | 5e42114d22faefe7c272b1b498fdf5640da494c7 (diff) |
Move more to git, add submodules, fix build script, change hgignore to gitignore
Diffstat (limited to 'main/openvpn/msvc-build.bat')
m--------- | main/openvpn | 0 | ||||
-rw-r--r-- | main/openvpn/msvc-build.bat | 48 |
2 files changed, 0 insertions, 48 deletions
diff --git a/main/openvpn b/main/openvpn new file mode 160000 +Subproject 7aaf01766f9718375986600216607aeb6397200 diff --git a/main/openvpn/msvc-build.bat b/main/openvpn/msvc-build.bat deleted file mode 100644 index fd6d5588..00000000 --- a/main/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 |