On 11/01/2010 16:19, Simon Pickles wrote:
On 11/01/2010 15:52, Vladimir Prus wrote:
Simon Pickles wrote:
  
Hi,

Using Visual Studio, it is possible to 'Ignore Specific Library'
(Project Properties>Configuration Properties>Linker>Input>Ignore
Specific Library).

We have found this a useful feature in a project. Now we want to build
the project using bjam, but we need to reproduce that linker behaviour.

Is there any ignore <library> feature?
    
Could you clarify what that option does in Visual Studio, what command line
option does it correspond to, 
/NODEFAULTLIB:"<library>"

http://msdn.microsoft.com/en-us/library/3tz4da4a%28VS.80%29.aspx

and how do you want Boost.Build support of
that option to behave?
  
I just want boost.build to pass that to the linker, although I am sure this is not portable.

Have I just answered my own question? Can I simply add my own statements to the linker command line with bjam?

Thanks

Simon
I did a dodgy microsoft workaround, by including a pragma in my source code to do the command line addition:

#pragma comment(linker, "/NODEFAULTLIB:<library>")

And it works.... oh the shame

S