Boost logo

Boost-Build :

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

Rene Rivera <grafikrobot <at>> 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
      Foo() {};

Then compile that you can then use

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

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at