source: nscp/build.bat @ 55e44d4

0.4.00.4.10.4.2stable
Last change on this file since 55e44d4 was 55e44d4, checked in by Michael Medin <michael@…>, 4 years ago

Added new command: assert which causes program to assert (and "crash") which I will use to test the debug builds.
Also reworked the build scripts to work better and such

  • Property mode set to 100644
File size: 1.1 KB
Line 
1@echo off
2@call env.bat
3
4echo :: %jam% --toolset=msvc --with-lua=%LUA_SOURCE% --with-openssl --include-path=%NSCP_INCLUDE% --with-boost --with-cryptopp=%CRYPTOPP_SOURCE% warnings=off --with-psdk="%PLATTFORM_SDK_INCLUDE%" %* build-binaries >> build.log
5%jam% --toolset=msvc --with-lua=%LUA_SOURCE% --with-openssl --include-path=%NSCP_INCLUDE% --with-boost --with-cryptopp=%CRYPTOPP_SOURCE% warnings=off --with-psdk="%PLATTFORM_SDK_INCLUDE%" %* build-binaries
6if %ERRORLEVEL% == 1 goto :error
7echo :: Result: %ERRORLEVEL% >> build.log
8
9echo :: %jam% --toolset=msvc warnings=off %* build-archives >> build.log
10%jam% --toolset=msvc warnings=off %* build-archives
11if %ERRORLEVEL% == 1 goto :error
12echo :: Result: %ERRORLEVEL% >> build.log
13
14echo :: %jam% --toolset=wix "--wix=%WIX_PATH%" %* build-installer >> build.log
15%jam% --toolset=wix "--wix=%WIX_PATH%" %* build-installer
16if %ERRORLEVEL% == 1 goto :error
17echo :: Result: %ERRORLEVEL% >> build.log
18
19exit /b 0
20goto :eof
21
22:error
23echo :: Error: %ERRORLEVEL% >> build.log
24echo *************
25echo * E R R O R *
26echo *************
27
28exit /b -1
Note: See TracBrowser for help on using the repository browser.