Boost logo

Boost-Build :

Subject: Re: [Boost-build] Unconditional shell command without <conditional>?
From: Boris Schaeling (boris_at_[hidden])
Date: 2011-01-31 15:48:13


On Sat, 29 Jan 2011 16:10:41 +0100, Steven Watanabe <watanabesj_at_[hidden]>
wrote:

> [...]svn-ref = [ SHELL "svnversion -n" ] ;
> project : requirements <define>SVN_REV=\"$(svn-ref)\" ;

I think I was wondering if something similar to this works:

project : requirements <define>SVN_REV=\" [ SHELL "svnversion -n" ] \" ;

The command would only be executed if the target is built. But then it's
not that important if it doesn't work. :)

Boris


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