From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-11-17 15:54:18
> In my project, we are using a rather hackish plugin mechanism where
> serveral DLL's link against symbols exported by EXEs (via
> __declspec(dllexport) and __declspec(dllimport)). All works well,
> except that I can't figure out how to tell Boost.Build that my DLLs
> depend on the EXE's generated import library. I am able to use
> Boost.Build to build everything, but I must take a two-pass approach
> (call bjam twice - the first time through ignoring all the failing
> targets, after the frist call, my EXEs import library is there and the
> second call works fine).
Don't know if this will work, as in I don't know if we made assumptions
that invalidate it. But try setting this:
gIS_DEPENDENCY(EXE) = TRUE ;
In your Jamrules, you could also do "-sgIS_DEPENDENCY(EXE)=TRUE" just to
test. This should allow you to use <exe>myexe in the dll targets.
Hopefully that does the right thing and pick off the lib for the link.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
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