Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Custom library paths for each project

0 views
Skip to first unread message

Dave Rudolf

unread,
Aug 18, 2008, 2:10:00 AM8/18/08
to
Hey all,

Suppose I have a 3rd-party lib that I wish to use. In order to get MSVC
to see that lib file, I have in the past resorted to putting that file
into "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib" or something
like that. However, I want the project to work on multiple machines
without having to hack the SDK folder for each one. So, I was hoping to
put the libs somewhere within my source tree and then tell the project
where to find them. I can't seem to figure out how to do that. The
closest I could find was to put them into the following settings:

Options -> Projects and Solutions -> VC++ Directories

However, doing so affects *all* projects, and I have to change that on
each machine. So, is there a way to achieve the same thing with a
project-specific setting?

Thanks

Dave

David Lowndes

unread,
Aug 18, 2008, 3:25:43 AM8/18/08
to
>Suppose I have a 3rd-party lib that I wish to use. In order to get MSVC
>to see that lib file, I have in the past resorted to putting that file
>into "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib" or something
>like that. However, I want the project to work on multiple machines
>without having to hack the SDK folder for each one. So, I was hoping to
>put the libs somewhere within my source tree and then tell the project
>where to find them. I can't seem to figure out how to do that.

Dave,

In your project's Link settings there's an additional path you can use
(/LIBPATH).

Dave Lowndes

0 new messages