Boost logo

Boost-Build :

Subject: [Boost-build] Import Library from Def File - MSVC
From: Richard B. Opsal, Ph.D. (ropsal_at_[hidden])
Date: 2011-02-04 21:23:07

I am using Microsoft Visual C++ 2008.

In my JAM file, I would like to add statement as follows:

lib myImportLib : Exports.Def ;

where Exports.Def is a module definition file such as:


With MSVC, I use this command to create import library:

lib /DEF:Exports.Def /MACHINE:x86 /OUT:myImportLib

Currently, Boost Build doesn't allow such a library creation

What is my best route for adding this functionality? I would
guess the MSVC.JAM file would need to be altered. At this point,
this seems a bit daunting to me. Or is there another (better)

I welcome your insights!

P.S., The above is usefully, especially if you only have access
to a DLL file. This mechanism provides a nice way to access the
DLL exports.

  Richard B. Opsal, Ph.D.
  Adron Systems LLC

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