|
Boost-Build : |
From: Deane Yang (deane.yang_at_[hidden])
Date: 2008-07-16 13:57:39
Phillip Seaver wrote:
> I have a third-party DLL that I load using LoadLibrary (no export .lib
> file), and I'd like to have it copied to the same location as
> executables or other DLL's that I build with boost.build and depend on
> it. Is there an easy way to do this?
>
>
> lib foo
> :
> : <file>foo.dll
> ;
>
>
> exe bar : bar.cpp foo ;
>
This is what I do:
install install-bar : bar
: <install-dependencies>YES
<install-type>EXE
<install-type>SHARED_LIB
<location>$(INSTALL_DIRECTORY)
;
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