Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-04-01 21:09:46


On 2002-04-01 at 07:56 PM, jcampbell3_at_[hidden] (Larry Evans) wrote:

>The following top level Jamfile:
><---------- top Jamfile -------------
>project-root
> ;
>
>rule test-rule
> {
> ECHO "rule output is" $(TOP) ;
> }
>
>test-rule
> ;
>>-------------------------------
>produces, with -d+2 option, the following:
><----------- jam d+2 output ----------
>rule output is .
>rule output is .
>>-------------------------------
>but I expected just one line.
>
>The jam -v output is:
><----------- jam -v output -----------
>Boost.Jam Version 3.1.0. OS=LINUX.
> Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
> Copyright 2001 David Turner.
> Copyright 2001-2002 David Abrahams.
>>--------------------------------
>This jam was produced from a download of boost
>from cvs, as described under the heading "CVS command line access"
>on http://www.boost.org/more/download.html.
>
>I'd sure appreciate any help in trying to get jam to work for me.
>TIA.

To resolve forward references in Jamfiles, they get included twice. The first
time they don't generate build instructions (actions). The second time they
do. To tell if it's the first pass you'r on do "if $(gIN_LIB_INCLUDE)". The
name of the variable is historical :-\

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_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