Another question

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Another question

tw813
Hi,

Another question is, I realize that different build configurations require linking to different boost libraries, e.g. release build links to libboost_serialization-vc80-mt-s-1_36.lib.  

But looking at the extension "mt-s-1_36", I wonder in which file or where in the VC environment, does one tell the "builder" that the boost library to be linked to should have extension "mt-s-1_36"?

I looked at the project properties, I cannot find the hints.

Please advice.

Thanks a lot,

Tw813
Reply | Threaded
Open this post in threaded view
|

Re: Another question

Kim Kuen Tang
Take a look at the screenshot:


 From the different configuration you will get different lib file.

HTH
Kim Tang
tw813 schrieb:

> Hi,
>
> Another question is, I realize that different build configurations require
> linking to different boost libraries, e.g. release build links to
> libboost_serialization-vc80-mt-s-1_36.lib.  
>
> But looking at the extension "mt-s-1_36", I wonder in which file or where in
> the VC environment, does one tell the "builder" that the boost library to be
> linked to should have extension "mt-s-1_36"?
>
> I looked at the project properties, I cannot find the hints.
>
> Please advice.
>
> Thanks a lot,
>
> Tw813
>  


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Another question

Luigi Ballabio
In reply to this post by tw813
On Wed, 2008-12-03 at 21:57 -0800, tw813 wrote:
> Another question is, I realize that different build configurations require
> linking to different boost libraries, e.g. release build links to
> libboost_serialization-vc80-mt-s-1_36.lib.  
>
> But looking at the extension "mt-s-1_36", I wonder in which file or where in
> the VC environment, does one tell the "builder" that the boost library to be
> linked to should have extension "mt-s-1_36"?

It's in <ql/auto_link.hpp>.  The #pragma directive tells the compiler
what to link to.

Luigi


--

Greenspun's Tenth Rule of Programming:
Any sufficiently complicated C or Fortran program contains an
ad-hoc, informally-specified bug-ridden slow implementation of
half of Common Lisp.



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users