Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-19 04:33:45


akimboyko wrote:

>
>
> hi.
> How can i exec external command within Jamfile to fill SVN_REVISION
> define?
>
> #this is Jamfile
> #command is 'svnversion -n .'
> project tests : requirements <include>.. <define>SVN_REVISION=1 ;
>
> lib jpeg : : <name>jpeg ;
> lib tiff : : <name>tiff ;
>
> exe tests : [ glob *.cpp ] ../loki//loki/<link>static
> ../src//images/<link>static jpeg tiff : <include>../src ;
>
> Or maybe i can run shell script from Jamfile to form some header with
> current revision version (as this project will only compiled under
> UNIXes).

Does this:

http://boost.org/boost-build2/doc/html/ch06s05.html

answer you question?

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk