Boost logo

Boost-Build :

Subject: Re: [Boost-build] using "build-project"
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2015-07-17 18:14:58


On 17/07/15 06:08 PM, Steven Watanabe wrote:
> AMDG
>
> On 07/17/2015 03:00 PM, Stefan Seefeld wrote:
>> In my Jamfile I use
>>
>> build-project tutorial
>> build-project reference
>>
>> with two subprojects in tutorial/ and reference/. Each of those contains
>> its own Jamfile, and running bjam in those subdirectories will generate
>> a local html/ directory.
>>
>> However, if I execute bjam in the toplevel directory, I get a single
>> ./html/ directory with output of both subprojects on top of each other
>> (and of course, a single index.html file corresponding to the last
>> subproject being built).
>>
>> What am I doing wrong ? How can I force the two html/ directories to be
>> generated within tutorial/ and reference/, even if the build process is
>> invoked from the toplevel directory ?
>>
> You're not doing anything wrong. This is
> a "feature" of the boostbook toolchain that's
> difficult to fix because the existing
> documentation build relies on it.

Hmm, so how can I have a project structure like the one I describe (with
two subdirectories each having their own quickbook document) and a
toplevel Jamfile to build them both into two distinct output directories ?

Thanks,
        Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

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