0.4.00.4.10.4.2stable
|
Last change
on this file since 1fc246c was
1fc246c,
checked in by Michael Medin <michael@…>, 4 years ago
|
|
SOme minor fixes to the installer and added archive project
|
-
Property mode set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | import common ;
|
|---|
| 2 | local target = "NSClient++.zip" ;
|
|---|
| 3 |
|
|---|
| 4 | constant _MODULE : $(__name__) ;
|
|---|
| 5 | path-constant TOP : . ;
|
|---|
| 6 |
|
|---|
| 7 | rule tag ( name : type ? : property-set )
|
|---|
| 8 | {
|
|---|
| 9 | return [ format-name $(name) : $(property-set) ] ;
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | rule format-name ( name : property-set )
|
|---|
| 13 | {
|
|---|
| 14 | local properties = [ $(property-set).raw ] ;
|
|---|
| 15 | if <architecture>ia64 in $(properties) {
|
|---|
| 16 | tag = IA64 ;
|
|---|
| 17 | } else {
|
|---|
| 18 | if <address-model>64 in $(properties) { tag = x64 ; }
|
|---|
| 19 | else { tag = Win32 ; }
|
|---|
| 20 | }
|
|---|
| 21 | local date = [ SHELL "perl helpers/perl/echo_date.pl" ] ;
|
|---|
| 22 | local version = [ SHELL "perl helpers/perl/echo_version.pl $(TOP)/../../AutoBuild.h" ] ;
|
|---|
| 23 | return "$(name)-$(version)-$(tag)-$(date).zip" ;
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 | rule generate-binary-location ( properties * )
|
|---|
| 27 | {
|
|---|
| 28 | local tag = [ get-root-prefix $(properties) ] ;
|
|---|
| 29 | return <source-folder>$(BOOST_STAGE_LOCATE)\\$(tag)\\binaries\\* ;
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | use-project master : ../.. ;
|
|---|
| 33 |
|
|---|
| 34 | zip $(target) : /master//NSClient++ : <tag>@tag <conditional>@generate-binary-location ;
|
|---|
| 35 |
|
|---|
| 36 | explicit $(target) ;
|
|---|
| 37 | install build-archive : $(target) : <location>$(BOOST_STAGE_LOCATE)/archive ;
|
|---|
| 38 |
|
|---|
Note: See
TracBrowser
for help on using the repository browser.