Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-04-21 17:08:41

sijuju2001 wrote:
> Another question... I've got a number of libraries which build *.dll's
> but don't use any __declspec(dllexport) statements (each dll contains
> a builder for a parameterised factory and the builder is registered
> via a proxy object which is constructed when the dll is loaded).

Interesting way to do things ;-)

>As a
> result, no *.lib file is generated. bjam reports this as a build
> error. Is there anyway to tell it that no *.lib file should be generated?

You can set the "SUFDLL" variable to specify the subffixes to use for
generating DLLs. The default, look in "allyourbase.jam", is set to '.dll
.lib' (as two values). If you only specify one value the import lib is
not generated. All the other target have respective suffix variables.
You will probably want to set them either in your Jamrules, or locally
around each target declaration:

local SUFDLL = .dll ;
dll some-dll ....


-- grafik

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