Click to See Complete Forum and Search --> : Visual Studio Question


rec
August 20th, 1999, 07:50 AM
A project of mine needs to include a LIB file - no problem - but how do I get it to include the lib from a different place depending if I build a release or a debug version???

chafey
August 24th, 1999, 02:10 PM
You can specify different library link paths in your project settings. Go to the link tab and choose the input category. Add the path to the appropriate library for each build configuration. What I usually do is add a "d" to the name of the library to indivate a debug build. For example, for library FOO, FOOD.lib would be a debug build and FOO.lib would be release. That way they can both exist in the same directory.

rec
August 25th, 1999, 04:11 AM
Setting different "additional library paths" for release and debug builds did the trick. Excellent. Thanks!