Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2008-07-16 10:50:36


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?

I'm pretty sure I can do it with an "install" rule (probably the same
one that installs the executable), but I'd like to have it copied to
wherever the executable gets linked or copied, so I don't have to do it
manually.

I currently have something like this in the jamfile for the DLL:

    lib foo
        :
        : <file>foo.dll
    ;

And this in the executable jamfile:

    exe bar : bar.cpp foo ;

Thanks,

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