static library link (unit test) to msvc 2008
Hello , 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. ) Thanks afore :) .
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
participants (2)
-
nbtvd fdstrhnbbx
-
Steven Watanabe