Boost logo

Boost-Build :

Subject: Re: [Boost-build] some things I would like to know...
From: Shridhar Daithankar (ghodechhap_at_[hidden])
Date: 2010-02-15 09:01:40


Just a few observations from a boost-build newbie. I hope you find them useful

On Monday 15 February 2010 19:03:28 Thomas Lehmann wrote:
> a) All header are installed globally -> how can I do this with bjam?

Add a install rule and tie it as a dependency? e.g. at top level jamroot, add
to targets headers and build where headers install everything in
$(TOPDIR)/include and build starts building it. bjam build will/should do the
correct thing.

> d) Let's say I do a release build with defaults (like optimized) but for
> one library I do not want to have it. How can this be done by bjam?

like this?

lib a : a.cpp : <debug-symbols>on ;

lib a : a.cpp : <variant>debug ;

> e) GNU
> make is said to be able to execute nearly everything. Is this also
> possible for boost build? Other way round: Is there something with boost
> build what I can not do in comparison with make?

IME make is closer to shell scripts than a build system, compared to boost
build. At least it can be abused that way. boost-build is hard to abuse that

There are practices in make land that do not translate good(note, not
impossible) to boost build which include
- pre/post processing specific to a diretory/file,
- pre/post processing that assume a certain file layout
- placing generated output to a specific dir. etc.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at