vs 默认的INC和LIB

用户环境变量添加

INCLUDE=C:\inc;c:\inc2

LIB=c:\lib

 

编辑文件C:\Users\Administrator\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props

 

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LibraryPath>$(LIB);$(LibraryPath)</LibraryPath>
<IncludePath>$(INCLUDE);$(IncludePath)</IncludePath>
</PropertyGroup>
</Project>

 

posted @ 2015-08-03 21:02  ahuo  阅读(431)  评论(0编辑  收藏  举报