Re: [Boost-docs] Running boost book from outside the boost directories

Subject: Re: [Boost-docs] Running boost book from outside the boost directories
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-06-24 07:28:32


> Once BoostBook has been configured, we can build some documentation.
> First, change to the directory $BOOST_ROOT/doc and remove (or make
> writable) the .html files in $BOOST_ROOT/doc/html. Then, run bjam to build
> HTML documentation. You should see several warnings like these while
> DocBook documentation is being built from BoostBook documentation:
>
> Which begs the question of how one can do this for anything that is not
> inserted to the boostbuild tree. How do I go about building documentation
> with boost tools for a project which is not inside the boost tree?

Eh? Just do it! Assuming you have a Jamfile, just invoke bjam. All it
needs is BOOST_BUILD_PATH setting so that Boost.Build can find it's files.

Also take a look at how sandbox/tools/auto_index is set up, as this provides
a simpl-ish example of what you want to do.

John.


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC