source: nscp/x86-build.bat @ e6792f3

0.4.00.4.10.4.2
Last change on this file since e6792f3 was 9bb220f, checked in by Michael Medin <michael@…>, 3 years ago

+ Added new option append-filter-<key>=<value> to CheckEventLog to allow "and" of filter rules.

CheckEventLog file=application file=system filter=out MaxWarn=1 MaxCrit=1 filter-eventID=ne:1 filter-eventID=eq:1 append-filter-eventSource==SecurityCenter? truncate=1023 unique descriptions "syntax=%source%: %id% (%count%)"

+ Added debug option to CheckEventLog (to allow settingdebug on per-check)
+ Added obfuscated_password to NSCA section
+ Added so "global" ([Settings] password=...) passwords are read from the NSCA module

Also various changes to make it build with latest version of boost build.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1@echo off
2@call env.bat
3
4SET _ERROR=
5echo Starting build > build.log
6
7
8rem call :build_hdrs
9IF DEFINED _ERROR goto :error
10rem call :build_src
11IF DEFINED _ERROR goto :error   
12
13call :build_one address-model=32 variant=release debug-symbols=on debug-store=database --build-type=complete "--library-path=%TARGET_LIB_x86_DIR%" "--with-psdk-lib=%PLATTFORM_SDK_LIB_x86%"
14IF DEFINED _ERROR goto :error
15
16echo *************
17echo *           *
18echo *    O K    *
19echo *           *
20echo *************
21goto :eof
22
23:build_hdrs
24echo %jam% --toolset=msvc-8.0 --with-cryptopp=%CRYPTOPP_SOURCE% --with-cryptopp-target=%NSCP_INCLUDE%\cryptopp cryptopp-headers >> build.log
25     %jam% --toolset=msvc --with-cryptopp=%CRYPTOPP_SOURCE% --with-cryptopp-target=%NSCP_INCLUDE%\cryptopp cryptopp-headers
26if %ERRORLEVEL% == -1 goto :error_one
27echo :: Result: %ERRORLEVEL% >> build.log
28goto :eof
29
30:build_src
31echo %jam% --toolset=msvc-8.0 source-archive >> build.log
32     %jam% --toolset=msvc-8.0 source-archive
33if %ERRORLEVEL% == -1 goto :error_one
34echo :: Result: %ERRORLEVEL% >> build.log
35goto :eof
36
37:build_one
38echo build.bat %* >> build.log
39call build.bat %*
40if %ERRORLEVEL% == -1 goto :error_one
41echo Result: %ERRORLEVEL% >> build.log
42goto :eof
43
44:error_one
45echo *********************
46echo *                   *
47echo *    E R R O R      *
48echo *                   *
49echo *********************
50set _ERROR=1
51exit /b -1
52goto :eof
53
54:error
55echo :: Error: %ERRORLEVEL% >> build.log
56echo *********************
57echo *                   *
58echo *    E R R O R      *
59echo *                   *
60echo *********************
61type build.log
Note: See TracBrowser for help on using the repository browser.