|
Boost-Build : |
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
(desired).
I believe the issue is that <def-file> modifier is used in "link" rules
in MSVC.JAM.
What I need to invoke is the "lib" program to generate the import
library.
This may be a good starting point for me. If I come up with a
modification, I'll post it back.
Thanks,
Richard
>>> 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.
HTH
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build
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