|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-09-24 13:58:42
"Robert Ramey" <ramey_at_[hidden]> writes:
> make sure that the test_dll is placed in the same target directory as
> test_main - which I don't know how to make bjam do.
>
> Is there any information on how to go about building and testing DLLS/Shared
> Libraries?
It should "just work." I do this kind of thing with Boost.Python all
the time. Just make your test depend on the library; Boost.Build will
automatically make sure the DLL/.so ends up in the
PATH/LD_LIBRARY_PATH (or some other variable on other *nixes).
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk