VC++ 2010 include/lib path

12,116

Solution 1

I think you can set the env vars: INCLUDE and LIBPATH for this.

Not sure how to do it from the GUI - but from the control panel it is straightforward. I don't know if Visual Studio appends to that or just sets/overwrites it though.

Solution 2

Use property sheet files. *.vsprops Change default one for the platform you need. They are under Property Manager Tab, near Solution Explorer.

See this MSDN help for mor information: "VC++ Directories Property Page"

Share:
12,116
Admin
Author by

Admin

Updated on June 25, 2022

Comments

  • Admin
    Admin almost 2 years

    Is there a place to set header and library path for ALL projects in VC2010 express? When i set them they seem to only apply to a single project (eg i have to set them everytime i start a new project).

  • Admin
    Admin about 14 years
    can you explain more? I set INCLUDE to C:\dev\external\include; in user environment variable and reopen one instance of visual studio and had no luck.
  • Admin
    Admin about 14 years
    Like this i41.tinypic.com/1zmkns0.jpg NOTE: There were no include/libpath variables before.