Boost logo

Boost-Build :

Subject: Re: [Boost-build] bcp rule
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-08-22 08:55:30


On Thursday 20 August 2009 Matthew Chambers wrote:

> The implementation was a painful trial and error process, but I finally
> have something that's almost ready for a project to use. I have to hook
> up the bcp exe target to the action instead of using the hardcoded path.
> I had to modify bcp to add reading the module-list from a file because
> it can get very long, and doing it piecemeal means way too much
> redundant scanning! So I'll (we'll?) have to use a custom version of
> that until it gets patched in.
>
> Here's a basically self-contained test case:
> http://codepad.org/nZuE8ppq

IIUC, the only issue is that you hardcode the path to bcp?
Does examples/build_tool help? You can modify you copy-boost-dependency
to automatically add the necessary property.

>
> I actually put the code in grafik's boost.jam though since that was
> simpler than adding a new module and making it depend on boost.jam.
> Perhaps this is something that would make sense in the official
> boost-build distribution? That would presumably entail using the main
> boost build Jamfiles instead of grafik's external build system.

I am not quite sure what dependency is there between bcp support
and main Jamfiles. Could you clarify? I.e. what is the external
interface?

- 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