Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-12-16 12:56:31


> > 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.

<install-type>EXE will copy *.exe files only, which is why the first line
does nothing. <install-type>SHARED_LIB will copy *.dll files only, which is
why the

EXE refers to *.exe files, SHARED_LIB refers to *.lib files and STATIC_LIB
refers to *.lib files. This is why you are getting the above behaviour. What
you need is:

install a_bin : a : <location>../bin <install-type>SHARED_LIB ;
install a_lib : a : <location>../lib <install-type>STATIC_LIB ;

- Reece


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