source: branches/stable/build.bat @ 316

Revision 316, 1.4 KB checked in by mickem, 11 months ago (diff)
  • Added proper volume support to CheckDriveSize
  • Added support for delayed start to service check (default ignored)
  • Added new option to CheckDriveSize ignore-unreadable which will ignore checking any unreadable disk drive.
Line 
1@echo off
2@call env.bat
3set toolset=msvc-8.0
4
5echo :: %jam% -j6 --toolset=%toolset% --with-lua=%LUA_SOURCE% --with-openssl --include-path=%NSCP_INCLUDE% --with-boost --with-cryptopp=%CRYPTOPP_SOURCE% runtime-link=static warnings=off "--with-psdk=%PLATTFORM_SDK_INCLUDE%" "--with-psdk61=%PLATTFORM_SDK_61_INCLUDE%" "--with-breakpad=%GOOGLE_BREAKPAD_INCLUDE%" %* build-binaries >> build.log
6        %jam% -j6 --toolset=%toolset% --with-lua=%LUA_SOURCE% --with-openssl --include-path=%NSCP_INCLUDE% --with-boost --with-cryptopp=%CRYPTOPP_SOURCE% runtime-link=static warnings=off "--with-psdk=%PLATTFORM_SDK_INCLUDE%" "--with-psdk61=%PLATTFORM_SDK_61_INCLUDE%" "--with-breakpad=%GOOGLE_BREAKPAD_INCLUDE%" %* build-binaries
7if %ERRORLEVEL% == 1 goto :error
8echo :: Result: %ERRORLEVEL% >> build.log
9
10echo :: %jam% --toolset=%toolset% warnings=off %* build-archives >> build.log
11        %jam% --toolset=%toolset% warnings=off %* build-archives
12if %ERRORLEVEL% == 1 goto :error
13echo :: Result: %ERRORLEVEL% >> build.log
14
15echo :: %jam% --toolset=wix "--wix=%WIX_PATH%" %1=%2 %3=%4 build-installer >> build.log
16        %jam% --toolset=wix "--wix=%WIX_PATH%" %1=%2 %3=%4 build-installer
17if %ERRORLEVEL% == 1 goto :error
18echo :: Result: %ERRORLEVEL% >> build.log
19
20exit /b 0
21goto :eof
22
23:error
24echo :: Error: %ERRORLEVEL% >> build.log
25echo *************
26echo * E R R O R *
27echo *************
28
29exit /b -1
Note: See TracBrowser for help on using the repository browser.