mirror of
https://github.com/boostorg/boost.git
synced 2025-04-08 06:43:09 +00:00
Use the more efficient path.glob-tree instead of glob.
[SVN r35158]
This commit is contained in:
parent
013dbc1ce3
commit
f8f22bf8a6
1 changed files with 4 additions and 16 deletions
20
Jamfile.v2
20
Jamfile.v2
|
@ -265,22 +265,10 @@ rule tag ( name : type ? : property-set )
|
|||
|
||||
# Install to system location.
|
||||
|
||||
local patterns = *.hpp *.ipp *.h *.inc ;
|
||||
local dir = boost ;
|
||||
local headers ;
|
||||
while $(dir)
|
||||
{
|
||||
local files = [ glob $(dir)/$(patterns) ] ;
|
||||
if $(files)
|
||||
{
|
||||
headers += $(files) ;
|
||||
dir = $(dir)/* ;
|
||||
}
|
||||
else
|
||||
{
|
||||
dir = ;
|
||||
}
|
||||
}
|
||||
local headers =
|
||||
[ path.glob-tree boost : *.hpp *.ipp *.h *.inc ]
|
||||
[ path.glob-tree boost/compatibility/cpp_c_headers : c* ]
|
||||
;
|
||||
|
||||
local header-subdir ;
|
||||
if $(layout-versioned) { header-subdir = boost-$(BOOST_VERSION_TAG) ; }
|
||||
|
|
Loading…
Add table
Reference in a new issue