Boost logo

Boost-Build :

From: Nigel Miller (nigelm_at_[hidden])
Date: 2006-08-09 12:35:25


Rene Rivera <grafikrobot <at> gmail.com> writes:

> How do you currently do that? Do you have DEF files that you can build
> the export libs from?

We use

lib -def -out:<lib name> <object list>

So if (continuing the liba example!) you make a.cpp into

  #define DLLEXPORT __declspec(dllexport)
  class DLLEXPORT Foo
  {
  public:
      Foo() {};
  };

Then compile that you can then use

lib -def -out:liba.lib a.obj


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