|
Boost-Build : |
From: c_andy_martin (c_andy_martin_at_[hidden])
Date: 2004-11-17 15:26:53
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).
I realize that this probably isn't the way most people do this in
windows (they use a second DLL which both the EXE and the first DLL
link against with the common functionality needed) but is there a
simple way to represent the relationship in Boost.Build (I've been
using version 1, mainly because I use Boost.Python a lot and need it).
Thanks,
-Andy
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