Boost logo

Boost-Build :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-06-25 11:22:32


Vladimir Prus wrote:
> Beman Dawes wrote:
>
>> What would the command line be to build Boost libraries thusly?
>>
>> * Release and debug
>
> variant=release, variant=debug
>
>> * Multi-threaded only
>
> threading=multi
>
>> * Static link only
>
> link=static

Good. Thanks!

>
>> * With Boost version number only
>
> I don't understand the question.

As an example, consider Boost.Graph vc90 mt build. These files are produced:

06/24/2008 09:19 PM 229,376 boost_graph-vc90-mt-1_35.dll
06/24/2008 09:19 PM 2,498 boost_graph-vc90-mt-1_35.lib
06/24/2008 09:17 PM 606,208 boost_graph-vc90-mt-gd-1_35.dll
06/24/2008 09:17 PM 2,534 boost_graph-vc90-mt-gd-1_35.lib
06/24/2008 09:17 PM 2,534 boost_graph-vc90-mt-gd.lib
06/24/2008 09:19 PM 2,498 boost_graph-vc90-mt.lib
06/24/2008 09:24 PM 18,230,642 libboost_graph-vc90-mt-1_35.lib
06/24/2008 09:22 PM 35,692,298 libboost_graph-vc90-mt-gd-1_35.lib
06/24/2008 09:22 PM 35,692,298 libboost_graph-vc90-mt-gd.lib
06/24/2008 09:28 PM 18,311,972 libboost_graph-vc90-mt-s-1_35.lib
06/24/2008 09:28 PM 18,311,972 libboost_graph-vc90-mt-s.lib
06/24/2008 09:26 PM 35,751,980 libboost_graph-vc90-mt-sgd-1_35.lib
06/24/2008 09:26 PM 35,751,980 libboost_graph-vc90-mt-sgd.lib
06/24/2008 09:24 PM 18,230,642 libboost_graph-vc90-mt.lib

Note that all the .lib files appear twice - once with "-1_35" and once
without. It would be useful to do a build that only produced the "-1_35"
version or the version without "-1_35".

>
>> Could someone please change "bjam --help" in the root directory so that
>> it produces enough information for a user to know how to build any
>> combination of release/debug, single/multi-threaded, static/dynamic
>> linking, 32/64-bit, with/without version number?
>
> That would be a hard measure -- the getting started document needs quite some
> work -- is it planned to happen in this release cycle?

Dave has asked that a ticket be created to update "getting started".
That was part of the motivation for this query, along with a problem
report from a client of mine.

Thanks,

--Beman


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