source: nscp/helpers/build-archive/Jamfile @ 3d782f8

0.4.00.4.10.4.2stable
Last change on this file since 3d782f8 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: 964 bytes
Line 
1import common ;
2local target = "NSClient++.zip" ;
3
4constant _MODULE : $(__name__) ;
5path-constant TOP : . ;
6
7rule tag ( name : type ? : property-set )
8{
9        return [ format-name $(name) : $(property-set) ] ;
10}
11
12rule format-name ( name : property-set )
13{
14    local properties = [ $(property-set).raw ] ;
15        local tag = [ get-root-prefix $(properties) ] ;
16        local date = [ SHELL "perl helpers/perl/echo_date.pl" ] ;
17        local version = [ SHELL "perl helpers/perl/echo_version.pl $(TOP)/../../AutoBuild.h" ] ;
18        return "$(name)-$(version)-$(tag)-$(date).zip" ;
19}
20
21rule generate-binary-location ( properties * )
22{
23        local tag = [ get-root-prefix $(properties) ] ;
24        return <source-folder>$(BOOST_STAGE_LOCATE)\\$(tag)\\binaries\\* ;
25}
26
27use-project master : ../.. ;
28
29zip $(target) : test.foo : <tag>@tag <conditional>@generate-binary-location  ;
30
31explicit $(target) ;
32install build-archive : $(target) : <location>$(BOOST_STAGE_LOCATE)/archive ;
33
Note: See TracBrowser for help on using the repository browser.