$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-02 11:43:44
On Tuesday 02 August 2005 20:32, John Maddock wrote:
> > Looks so. Would you like to to sketch an implementation of this for some
> > library?
>
> OK, I'll try and use the link test example to work up a test case later
> this week, thanks for the help!
I attach a small working example that seem to do what you wanted.
If I unpack it to boost root and run "bjam --v2", a library is built
and staged (with the -mt suffix, as expected), and the application is
linked.
For me on gcc the link of application naturally fails, as there's no
autolinking ;-) I'd hope that on windows, right library is picked.
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2 --Boundary-00=_AL67Cn8+RTJpQWq Content-Type: application/x-zip; name="autolink_test.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="autolink_test.zip" [Attachment content not displayed.] --Boundary-00=_AL67Cn8+RTJpQWq--