Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (29 sloc) 1.02 KB
@echo off
REM If we're not running under a VS prompt, try to get one.
if "%VCInstallDir%"=="" call "%VS90COMNTOOLS%\vsvars32.bat"
if not EXIST build_logs mkdir build_logs
call :BUILD libtommath\libtommath.sln
call :BUILD libtomcrypt\libtomcrypt.sln
call :BUILD curl\lib\curllib.sln
call :BUILD metakit\win\msvc90\mksrc.sln
call :BUILD pcre\pcre.sln
call :BUILD tinyxml\tinyxml.sln
call build_wxwidgets_win.cmd
call build_boost_win.cmd
echo Builds complete, check build_logs for possible issues.
goto :EOF
REM **** Subroutines start here ****
REM Usage: call :BUILD path_to_sln [, config_to_build="DEBUG|Win32"]
set CONFIG=%2
if {%CONFIG%}=={} set CONFIG="DEBUG|Win32"
echo Building %1...
vcbuild %1 %CONFIG% > build_logs\%~n1.log
REM "mspdbsrv.exe" can hang, which prevents new .pdb's from
REM being created and causes subsequent command-line builds to fail.
REM Explicitly try to kill it after a command-line build.
taskkill.exe /f /t /im mspdbsrv.exe > nul 2> nul
endlocal & set RET=%RET%
goto :EOF