Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-09 05:30:27


Vladimir Prus wrote:

>> install install-headers : [ glob CommonModules/*/*.h ]
>>
>> : <location>$(include-locate)
>>
>> ;
>
> With Boost.Build M10, you're out of luck. Well, you can write some bjam
> code which will declare a separate 'install' target for each header
> directory for install, but that's scary. In today's CVS, you should be
> able to do:
>
> install install-headers : [ glob CommonModules/*/*.h ]
>
> : <location>$(include-locate)
> <preserve-path>on
> ;
>
> Please let me know if this works for you.

Oops, it does not. I've tested with

install dist : a/b/c.h : ........ ;

and it *does* work, but the example with 'glob' does not work yet because
'glob' return absolute path names. I'll work on this.

- Volodya

 


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