Subject: Re: [Boost-build] Issue in glob rule when invoked in <conditional>.
From: Vladimir Prus (ghost_at_[hidden])
Date: 2012-07-25 01:19:05
On 25.07.2012 08:46, Jurko GospodnetiÄ wrote:
>> This makes me pretty nervous. I really
>> don't like hacking in features as someone
>> requests them. I'm not even convinced
>> that this is the correct behavior.
>> If we're going to do something like
>> this the documentation of glob needs
>> to be updated to make it clear that
>> it searches the 'current project' instead
>> of the project of the current module.
>> Also, how would the other project rules
>> need to be updated to be consistent?
> Well, we can also say - the project-rules.glob() rule can not be called once the Jamfile loading phase has finished its work, but that
> does not feel right either...
On the other hand, this approach is something we can easily enforce - and it has some logic -- the 'glob' rule is used in project context,
and as soon as project loading is done, there's no project context.
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