user181351
user181351

Reputation:

VC++ 2010 include/lib path

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).

Upvotes: 3

Views: 12216

Answers (2)

baltic
baltic

Reputation: 31

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"

Upvotes: 1

Tim
Tim

Reputation: 20360

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.

Upvotes: 1

Related Questions