diff options
author | watcherhd <watcherhd@gmail.com> | 2017-08-05 18:28:13 +0300 |
---|---|---|
committer | watcherhd <watcherhd@gmail.com> | 2017-08-05 18:28:13 +0300 |
commit | 760c3ae475b4b39b486f72c7adb8c1f1d83b440f (patch) | |
tree | e3e08ebf880462db266321b8e1528f11d1b71cdf /tools/build_scripts/bin12/w_Rebuild_Plugins.bat | |
parent | 6b3e2962bcf7917e0593da3f5c3605e923889fe2 (diff) |
build scripts for those who are willing to keep it all going
Diffstat (limited to 'tools/build_scripts/bin12/w_Rebuild_Plugins.bat')
-rw-r--r-- | tools/build_scripts/bin12/w_Rebuild_Plugins.bat | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/build_scripts/bin12/w_Rebuild_Plugins.bat b/tools/build_scripts/bin12/w_Rebuild_Plugins.bat new file mode 100644 index 0000000000..d61886c103 --- /dev/null +++ b/tools/build_scripts/bin12/w_Rebuild_Plugins.bat @@ -0,0 +1,31 @@ +call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" + +call git_update.bat + +if exist "Release" rd /Q /S "Release" >nul + +if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h" +echo on +pushd ..\build +call make_ver.bat +popd + +MsBuild.exe "plugs_vad.sln" /m /t:Rebuild /p:Configuration=Release /p:Platform="Win32" /fileLogger /fileLoggerParameters:LogFile=Logs\plugs_vad.log;errorsonly;warningsonly +set BUILD_STATUS=%ERRORLEVEL% +if %BUILD_STATUS%==0 echo Build success +if not %BUILD_STATUS%==0 goto :Error + +call vad.bat + +rd /S /Q "Release\Obj" + +rem del /F /S /Q "Release\*.pdb" + +rem popd + +goto :eof + +:Error +echo ============================= FAIL! ============================= +pause +exit |