$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2006-11-27 14:42:50
Hi,
I have some project specific jam files that reside in a directory under
project-root.
Is it possible to set up the project so that I can "import" these jam
files from other parts of the project without specifying their path?
e.g.
project-root/Jamfile.v2
project-root/project-root.jam
project-root/jamfiles/jamfile1.jam
project-root/module1/Jamfile.v2
and in project-root/module1/Jamfile.v2 I would like
import jamfile1 ;
I have tried modifying BOOST_BUILD_PATH within project-root/Jamfile.v2,
but without success...
Explicitly specifying the path (import ../jamfiles/jamfile1 ;) works until
I invoke the "flags" in the imported jamfile, at which point I get the
error:
Module ../jamfiles/jamfile1 attempted to set flags for module jamfile1
Hugo