|
Boost Users : |
Subject: Re: [Boost-users] static library link (unit test) to msvc 2008
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-11 19:00:22
AMDG
nbtvd fdstrhnbbx wrote:
> I have used bjam (cmd: bjam test) for boost (1.36.0) test library. It
> has generated some ".lib" files for static binding to my target
> project. Now can someone explain to me (step by step please ) how to
> use these ".lib" files in msvc 2008 ? By the way this is the name of
> one of them:
>
> libboost_unit_test_framework-vc90-mt-gd-1_36.lib
>
> ( ok this is a naive question but I could not find how on boost
> documentation either on msdn I just found how to use a ".lib" file in
> another project in the same solution but apparently this is not the
> case because of pre-built library. )
>
Go to Tools->Option->Projects and Solutions->VC++ Directories
Select "Library files" and add the directory containing the lib files.
auto_link will take care of the rest.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net