Boost logo

Boost-Build :

From: Alan Gutierrez (alan-jamboost_at_[hidden])
Date: 2005-01-02 08:34:51


* Alan Gutierrez <alan-jamboost_at_[hidden]> [2005-01-02 08:18]:
>
> * Rene Rivera <grafik.list_at_[hidden]> [2005-01-02 03:26]:
> >
> > Alan Gutierrez wrote:
> > > As an exercise, I created, what I thought was a minimal
> > > Boost.Jam file.
> > >
> > > When I execute it, I get:
> > >
> > > Hello, World!
> > > don't know how to make all
> > > ...found 1 target...
> > > ...can't find 1 target...
> > >
> > > Two simple questions about the minimal script.
> > >
> > > 1) Is foo a target? Or is rule a target?
> >
> > No. No.
>
> Okay. Than how does one specify a target?
>
> > > rule foo
> > > {
> > > ECHO "Hello, World!" ;
> > > }
> >
> > That defines a Jam rule. Akin to a function.
>
> I know.
>
> > > foo ;
> >
> > That invokes the "foo" rule.
>
> I know.
>
> > > 2) What is the minimal Boost.Jam that will know how to make all?
>
> > That depends on what you want to define the "all" target to be. And what
> > you want to define it in: Jam, Perforce/Jam, or Boost.Build.v1, or
> > Boost.Build.v2?
>
> Boost.Build.v2.
>
> The minimal Jamfile.v2 to make that warning go away is all I'm
> looking for.

Maybe not Boost.Build.v2, maybe Jam. Where is Perforce/Jam in
all this? This strikes me as a Socratic question and this process
of learning Boost.Build is already Socratic enough.

Are the orignal Jam or Performce/Jam involved in Boost.Build?

Aren't you advocating everyone to move toward Boost.Build v2?

More importantly, are there not two tools involved in Boost.Build:

1) Boost.Jam
2) Boost.Build

Let me me rephrase my question.

I would like to create a minimal Boost.Jam file. One that
generates no warnings.

I want to understand the concept of a target in Boost.Jam.

I understand the concept of a target, and I know how to
specify one in make.

I'm asking a syntax question.

--
Alan Gutierrez - alan_at_[hidden]
 

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