From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-26 03:35:03
On Wednesday 19 April 2006 05:43, Emil Dotchevski wrote:
> I want to pass an option to the MSVC linker, when building a .lib file, to
> disable a specific warning. I tried to specify:
> in the requirements, but as far as I can see using the -n option of bjam,
> this is not passed to the linker when generating a lib file. I also looked
> in msvc.jam and couldn't see anything in the .archive actions that would
> pass <linkflags> to the linker when building a lib - but I could be wrong,
> I don't know jam so I may have missed something...
first of all, the options to static linker are passed via <archiveflags>
Second, that feature in not supported by msvc.jam anyway.
On the positive side, I've just fixed that problem in CVS.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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