From: Peter Olsson Date: Thu, 23 Jan 2014 12:39:34 +0000 (+0100) Subject: FS-6129 More improvements for V8 Windows build on 32-bit machines. X-Git-Tag: v1.5.8~25^2~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26d34aa85d4e7d4b385e866a1c854daaee1a3e5;p=thirdparty%2Ffreeswitch.git FS-6129 More improvements for V8 Windows build on 32-bit machines. --- diff --git a/libs/win32/v8/build-v8.bat b/libs/win32/v8/build-v8.bat index 1590dba2c6..0b78ac43c9 100644 --- a/libs/win32/v8/build-v8.bat +++ b/libs/win32/v8/build-v8.bat @@ -1,28 +1,49 @@ @ECHO OFF +REM First argument is the target architecture +REM Second argument is "Debug" or "Release" mode +REM Third argument is the V8 root directory path +REM Fourth argument is the version of Visual Studio (optional) + IF "%1" == "" GOTO Fail IF "%2" == "" GOTO Fail IF "%3" == "" GOTO Fail +REM Go into the V8 lib directory cd "%3" +REM Check the last build info, so we know if we're supposed to build again or not SET /P LAST_BUILD_INFO= last_build exit :Fail +REM Delete the last_build info if this build failed! +@del /Q last_build exit /b 1