|
Boost-Build : |
Subject: Re: [Boost-build] Building a generator binary then using it?
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2008-10-13 17:26:26
On Mon, Oct 13, 2008 at 5:18 PM, Alexander Sack <pisymbol_at_[hidden]> wrote:
> 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.
Eee gad. No I'm sorry, I looked at it again. Alright this seems to
build the quickbook and then use it. But isn't there something
simpler than this? This is a lot of heavy lifting for such a simple
task.
-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