|
Boost-Build : |
From: Phillip Seaver (phil_at_[hidden])
Date: 2005-12-16 12:43:16
Renaud Lepere wrote:
>
> > > lib a : a.cpp ;
> > > install ../bin : a ;
> > >
> > > But i have a litte problem, i would like to install the .dll in
> > > ../bin and the .lib in ../lib.
> >
> > See if this works for you:
> >
> > install a_bin : a : <location>../bin <install-type>EXE ;
> > install a_lib : a : <location>../lib <install-type>SHARED_LIB ;
>
> It didn't work completly for me... The first install line do nothing and
> the second one copy only the .dll file whereas if i didn't specify
> any install-type both files (the .dll and .lib) are copied.
> Thanks
>
> Renaud
It would have helped if I had read your question more carefully. EXE is
for executables and you're not creating one, so that does you no good. :-}
How about:
install a_bin : a : <location>../bin <install-type>SHARED_LIB ;
install a_lib : a : <location>../lib <install-type>IMPORT_LIB ;
Phillip
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