Boost logo

Boost-Build :

Subject: [Boost-build] How to have linker find PDB files?
From: Nathan Paul (nathanjpaul_at_[hidden])
Date: 2009-05-30 14:12:36

Hi all,
I have a prebuilt shared library built with the /Zi option using msvc. This
generates two PDB files. I setup the library in the site-config.jam file as
lib mylib
  : # No dependencies
  : <variant>debug:<file>$(MYLIB_DEBUG_LIB)/libmylib.lib
  : # No default build
  : <include>$(MYLIB_INCLUDE)

When I build my project using this library I get linker warnings LNK4099.
I'd like to be able to tell the linker about the location of the PDB files,
but I don't know how. Although I can rebuild the prebuilt library with the
/Z7 option instead of /Zi, I'd like to avoid it.
Nathan Paul

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at