WindowsSDK_IncludePath 在哪里定义? [英] Where is WindowsSDK_IncludePath defined?

查看:35
本文介绍了WindowsSDK_IncludePath 在哪里定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

宏 $(WindowsSDK_IncludePath) 的值如图所示.

The macro $(WindowsSDK_IncludePath) has the values shown in the picture.

我想知道这些值是在哪里定义的,它们必须在某些文件中定义.

I'd like to know where those values are defined, they must be defined in some files.

图片来自 Visual Studio 2013.

The picture was taken from Visual Studio 2013.

推荐答案

我在 C:Program Files (x86)Windows Kits 文件夹中的 sdk.props 文件中看到了数据8.0uildCommonConfigurationNeutral

I see the data in file sdk.props in folder C:Program Files (x86)Windows Kits8.0uildCommonConfigurationNeutral

<PropertyGroup>
     <WindowsSdkDir Condition="'$(WindowsSdkDir)' == ''">$([MSBUILD]::GetDirectoryNameOfFileAbove('$(MSBUILDTHISFILEDIRECTORY)', 'sdkmanifest.xml'))</WindowsSdkDir>
  </PropertyGroup>

  <PropertyGroup>    <WindowsSDK_IncludePath>$(WindowsSdkDir)Includeum;$(WindowsSdkDir)Includeshared;$(WindowsSdkDir)Includewinrt;</WindowsSDK_IncludePath>
  </PropertyGroup>

我使用的是 Win8 + VS2012,所以它应该在你的 VS2013 + 8.1 SDK 的文件夹 8.1 中.

I use a Win8 + VS2012, so it should be in folder 8.1 for your VS2013 + 8.1 SDK.

这篇关于WindowsSDK_IncludePath 在哪里定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆