Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-29 07:22:48


On Friday 26 August 2005 21:56, Miguel A wrote:
> --- In jamboost_at_[hidden], "Miguel A" <ironphase_at_y...> wrote:
> > This might be an elemental question, but I don't find an answer in the
> > docs.
> >
> > With the target "stage" I am able to install EXE and LIBs to a given
> > location. However if I would like to install a number of *.h files to
> > go along with the libraries, Is there are proper way to do this?
> >
> > Thanks
>
> OK, I wrote a bit too early. I did find out that I can add *.h files
> in the sources of a "stage" target. So that solves my problem.
>
> I tried adding a directory containing the headers but that didn't work
> under windows XP. though bjam --v2 did report trying to copy the folder.
> something like this:
>
> stage install : src/headers : <location>install_dir ;

Yea, this does not work. You can use this instead:

stage install : [ glob src/headers/*.h ] : <location>install_dir ;

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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