$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-10 17:26:22
----- Original Message -----
From: "hugo_duncan" <hugo_duncan_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Sunday, February 10, 2002 5:19 PM
Subject: [jamboost] Correct way of determining project root
>
> If I have a project tree
>
> root
> root/test
>
> and i wish to specify <include>root in the Jamfile in root/test, what is
the best way of doing this (with the current jam version)
>
> I have tried adding MY_ROOT =? $(TOP) to Jamrules, and then
<include>$(MY_ROOT), but that seems to give a relative directory which is
incorrect when jam is invoked from the root/test subdirectory.
>
> Any suggestions ?
how about <include>.. ?