[jamming] Problems with SubDir rule in jam-2.5rc1

Matze Braun matze at braunis.de
Thu Feb 6 07:23:19 PST 2003


Hi,

I just tried updating to jam-2.5 and I'm having problems with the SubDir 
rule now. It is impossible to set a custom TOP path now. With jam 2.4 I 
did something like this:

Directory Layout:
source/Jamfile
source/Jamrules
source/...several subdirs with Jamfiles...

build/Jamfile

Jamfile in source looks like this:
SubDir TOP ;

SubInclude ... ;
... ;

The build/Jamfile looked like this:

TOP = ../source ;
include $(TOP)/Jamfile ;

so I was able to build source into another directory easily. However in 
the jam-2.5 rules, my Jamrules file isn't included when I'm setting the 
TOP variable :-/

Greetings,
	Matze



More information about the jamming mailing list