Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-01-02 01:18:02


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.

> rule foo
> {
> ECHO "Hello, World!" ;
> }

That defines a Jam rule. Akin to a function.

> foo ;

That invokes the "foo" rule.

> 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?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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