From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-24 11:16:43
On Thursday 24 March 2005 13:01, Jan Rehders wrote:
> Thanks for your answer,
> I'm using v2. I've looked in darwin.jam but there doesn't seem to be
> anything bundle related.
BTW, can you explain to me what's bundle and why kind of support for them
you'd like. From what I can find at developer.apple.com, it's specific
directory structure which is considered as single application (with resources
and the like). OTOH, bundle support in V1 does not look like that. I
certainly miss something.
> But when I
> try a target "jan blub3 : blub2.jans : ;" I get an error saying "rule
> jan unknown".
> import type ;
> type.register JANFILE : jan ;
This implicitly creates a top-level rule called 'janfile', which will try to
create 'JANFILE' type from any sources you pass.
I'd suggest changing this to
type.register JAN : jan ;
You'll immediately get top-level rule called 'JAN'. If this is not OK for some
reason, try this:
IMPORT : janfile : : jan ;
This will redeclare global 'janfile' rule with the 'jan' name.
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