|
Boost-Build : |
From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-08-27 02:18:59
"David Abrahams" <dave_at_[hidden]> wrote in
news:01dc01c24d95$16989740$3002a8c0_at_[hidden]:
> From: "Patrick Frants" <gclbb-jamboost_at_[hidden]>
>> How can I get the absolute path of the current Jamfile?
>
> You should use the relative path from the invocation directory. You can
> get the relative path from the invocation directory to the current
> subproject (Jamfile) by using the $(SUBDIR) variable. So:
>
>
> [ GLOB $(SUBDIR)/more/path/elements : *.cpp ]
>
> Should get you what you're after.
Thanks it works!
Patrick
-- Patrick Frants Senior Software Engineer Quintiq mailto:patrick_at_[hidden] www.quintiq.com
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