|
Boost-Build : |
From: Alan Gutierrez (alan-jamboost_at_[hidden])
Date: 2005-01-02 08:18:38
* 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.
-- 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