Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building a generator binary then using it?
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2008-10-13 17:18:23


On Mon, Oct 13, 2008 at 4:18 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> Alexander Sack wrote:
>>
>> I have been slowly getting better at using bjam but I have this
>> problem. My project has a binary that we build which is then used to
>> generate C++ files. I have followed the documentation regarding
>> generators (the VERBATIM example as well as persuing my
>> $BOOST_ROOT/tools/*.jam files) but I don't know how to get access to
>> the current build directory to run my generator? Any pointers would
>> be most appreciated.
>>
>
> For a real example you can look at
> http://svn.boost.org/trac/boost/browser/trunk/tools/build/v2/tools/quickbook.jam

Ouch, but this doesn't look like it does it. It looks like it
searches within BOOST_ROOT or BOOST_BUILD_PATH. The other thing is I
see a lot of stuff that I'm positive isn't really documented.

I guess a more simpler question is can I somehow force the generation
of one binary to a certain location so I can reference it for my tool?
 Or is there a way to get access to the current build path of whatever
build variant I'm using (cause it changes depending on
features/variants)?

Thanks!

-aps


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