From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-09 11:23:53
Ray Lambert wrote:
> Ray Lambert wrote:
>> Thanks, that worked very well. It still has to be manually updated but
>> at least now it only needs to be updated in one place (and committed).
>> I had to change the command though to <target-os>windows and to use a
>> windows path. I guess I'm using a somewhat mixed environment; I'm
>> building with <target-os>windows but using cygwin's gcc (which is the
>> gcc I have installed). This is the final command that I used (in
>> : requirements
>> (The last requirement is for my linux builds, of course.)
> Hmmm... replying to myself here...
> I *thought* I had tested that last part ("<target-os>linux:<library>rt")
> but it turns out that it doesn't work. I get an error saying it can't
> find "rt" (but "[ lib rt ]" on the "exe" line works fine). I had to use
> this instead (which did work):
> : requirements
> *Should* "<library>rt" have worked?
No. <library> is a dependency feature and the value of it should
be a name of a target. If you don't declare target named 'rt' in your
won't work. You can use:
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