Boost logo

Boost-Build :

Subject: Re: [Boost-build] installing headers
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2015-05-23 19:59:45


On 23/05/15 07:55 PM, Steven Watanabe wrote:
> AMDG
>
> On 05/23/2015 04:17 PM, Stefan Seefeld wrote:
>> 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/... ?
>>
> I think the feature is called install-source-prefix.
> You'll need to set it to the base directory whose
> structure you want to kepp. In this case, probably
> use <install-source-prefix>/my/source/tree/include
> and set the install location for headers to
> /my/install/prefix/include.

That sounds good, though I'm not sure how to translate that into 'code'
in my Jamfile. Can you point me into the right direction (an example
Jamfile would be useful !) ?

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