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:
LIBRARY A_DLL_NAME
EXPORTS
myFunc1
myFunc2
myFunc3
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 syntax.
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) approach?
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.