|
Boost-Build : |
Subject: [Boost-build] installing headers
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2015-05-23 18:17:59
Hello,
I recently asked about the proper use of glob and glob-tree to build a
list of header files with the ultimate goal to install them.
My goal is to pick up all headers in a hierarchy of subdirectories, and
install them, preserving the directory hierarchy (obviously some common
prefix from the source tree should be removed in the process).
The first step is the collection of headers, which I assume
path.glob-tree() should be use for.
For the installation I'm currently trying to use package.install, which
takes a 'headers' argument. However, it appears as if these headers are all
installed in the same directory (irrespectively of their relative
location in the source tree). How can I instruct boost.build to install
headers from
/my/source/tree/include/boost/python/... into
/my/install/prefix/include/boost/python/... ?
Thanks,
Stefan
-- ...ich hab' noch einen Koffer in Berlin...
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