vs 默认的INC和LIB

阅读 61

2022-05-19

用户环境变量添加

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>





精彩评论(0)

0 0 举报