3 messages in com.perforce.jamming[jamming] Multiple Jamfile
FromSent OnAttachments
Yannick Cornet06 Jul 2001 07:33 
Arnt Gulbrandsen06 Jul 2001 08:02 
Dave Lewis06 Jul 2001 11:02 
Subject:[jamming] Multiple Jamfile
From:Arnt Gulbrandsen (ar@gulbrandsen.priv.no)
Date:07/06/2001 08:02:47 AM
List:com.perforce.jamming

Yannick Cornet <yann@openwave.com>

Hello

I would like to compile a component multiple times, using different flag options defined in separate jamfiles, all in one pass (one jam invocation).

In Jam, I'd say you want to create several targets from the same source(s), and set the CPPFLAGS, CFLAGS or somesuch on each target.

OPTIM on fastTarget = -O2 ; OPTIM on debugTarget = -g ;

However I could not find the way to specify to jam to run through more than one jamfile in the same subdirectory. I suppose this must have been asked before, can anyone help me answer this?

In Jamfile: "include otherfile ;", methinks. I only ever use that to pull in Jamrules, but it ought to work for you too.

--Arnt