Boost logo

Boost-Build :

Subject: Re: [Boost-build] glob-tree question
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2015-05-30 22:50:36


On Fri, May 29, 2015 at 1:31 PM, Vladimir Prus <vladimir.prus_at_[hidden]>
wrote:

>
> Hi Rene,
>
> On 5/21/2015 5:35 PM, Rene Rivera wrote:
>
>> Try just the project level versions of glob:
>>
>> headers = [ glob-tree $(SELF)/include/boost : *.hpp ] ;
>>
>> or
>>
>> headers = [ glob-tree-ex $(SELF)/include/boost : *.hpp ] ;
>>
>
> Do we actually need "glob-tree-ex" - the name does not seem entirely
> clear to me?
>

Well.. I have a use case for it. Being that I need to glob for sources in
some arbitrary dir. And the regular glob-tree doesn't allow that (re:
"errors.user-error The patterns to 'glob-tree' may not include directory").
So I wrote an "extended" version that doesn't have all the limitations and
maps directly to the builtin "GLOB".

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail


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