|
Boost-Build : |
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-03-17 19:12:51
Johan Nilsson wrote:
> [repost: previous attempts failed]
>
> Hi,
>
> short question: is it possible to define <template> targets either inside
> Jamrules or the root Jamfile for later usage inside subproject Jamfile's?
> How are the <include> requirements handled in this case if they are defined
> as relative paths? Absolute paths?
a) You specify them in the Jamfile(s), and refer to them like other targets.
It's not really possible to define them in the Jamrules (there are some hacks
one could possibly do but I'd have to try that out).
b) Relative includes (and other path attributes) are handle and translated
accordingly when used. You can also use absolute paths and it should not touch
those when adjusting for relative paths.
> I'm having a problem which seems to be related to the handling of <include>
> requirements where the subproject build complains about not finding the
> include files. I've tried both to set up the include paths as both relative
> and absolute paths. Please see the attached .zip file for a small
> reproducible sample.
The problem is likely not related to the path handling itself... As I think
you have the problem regardless of relative/absolute paths. Could you provide
the example as a regular email attachment? I don't immediately have the
capability to extract this one. If need be you can email it to me directly.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
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