Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost.Build newbie
From: frederic.bron_at_[hidden]
Date: 2008-12-03 09:56:12

> frederic.bron_at_[hidden] wrote:
> > I have read the documentation of on and I
> have a few questions:
> > 1.) I do not understand what's more in compared to
> bjam; I see no reference to
> > something else than bjam in doc.
> What "reference" do you mean? Pretty much everything documented in
> Boost.Build documentation
> is a Boost.Build feature.

By reference I mean is there anything else than bjam in Reading the doc, it seems to me that bjam is the only thing I need for what's called "". But there is a specific
documentation for and boost.jam. I am confused with that.

> > 2.) Is it true that the dependencies must be
> > specified manually in a Jamfile; dependenceis are not
> automatically found with header files. I
> > understood this from this page of the doc :
> >
> However, the example is with
> > a library dependency and not with source file dependecies.
> Dependencies on header files are automatically detected. Sources, of
> course, need to be specified.
> What on that page made you think dependencies on headers are not detected?

OK for headers, that's great. However, If #includes a.hh, then if exists, I need to link main.o with a.o to make the program "main". It seems to me that I have to say to bjam that the
"main" executable target needs a.o. Is that true?

> > Today I use the makedepend utility and a bash script to build a
> valid Makefile. However, it is
> > hard to maintain and I would like to add msvc compiler on windows
> and it causes me much trouble.
> > seems to do that but if I have to manually track the
> dependencies, I prefer to
> > continue with gcc only.
> You don't have to track header dependencies.
> HTH,
> Volodya

Avis :
Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le
détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes
en tout ou en partie.

This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error
please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.

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