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:
975 bytes
|
| 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 | 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 |
|
|---|
| 21 | rule generate-binary-location ( properties * )
|
|---|
| 22 | {
|
|---|
| 23 | local tag = [ get-root-prefix $(properties) ] ;
|
|---|
| 24 | return <source-folder>$(BOOST_STAGE_LOCATE)\\$(tag)\\binaries\\* ;
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | use-project master : ../.. ;
|
|---|
| 28 |
|
|---|
| 29 | zip $(target) : /master//NSClient++ : <tag>@tag <conditional>@generate-binary-location ;
|
|---|
| 30 |
|
|---|
| 31 | explicit $(target) ;
|
|---|
| 32 | install build-archive : $(target) : <location>$(BOOST_STAGE_LOCATE)/archive ;
|
|---|
| 33 |
|
|---|
Note: See
TracBrowser
for help on using the repository browser.