|
Boost-Build : |
From: akimboyko (akimboyko_at_[hidden])
Date: 2004-10-19 04:20:58
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).
Akim Boyko akim.b(DOG)ua.devzerog.com
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