Subject: Re: [Boost-build] Import Library from Def File - MSVC
From: Richard Opsal (ropsal_at_[hidden])
Date: 2011-02-06 14:04:07
The syntax you mention makes sense but doesn't work as expected
I believe the issue is that <def-file> modifier is used in "link" rules
What I need to invoke is the "lib" program to generate the import
This may be a good starting point for me. If I come up with a
modification, I'll post it back.
>>> Juraj IvanÄiÄ <juraj.ivancic_at_[hidden]> 02/05/11 7:07 AM >>>
On 5.2.2011 3:23, Richard B. Opsal, Ph.D. wrote:
> I am using Microsoft Visual C++ 2008.
> In my JAM file, I would like to add statement as follows:
> lib myImportLib : Exports.Def ;
After a quick glance at msvc.jam there is <def-file> feature
which seems to be exactly what you need:
lib myImportLib : : <def-file>Exports.def ;
It is not exactly documented, but it is stated in the extender
manual section that it exists.
Unsubscribe & other changes:
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