source: nscp/build.bat @ dbc22d8

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

Changes to the build system to fix broken psdk.jam libs as well as addition to support building debug symbols.

  • 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% runtime-link=static 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% runtime-link=static 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%" %1=%2 %3=%4 build-installer >> build.log
15%jam% --toolset=wix "--wix=%WIX_PATH%" %1=%2 %3=%4 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.