-
-
Save zjx632/119eae0c7bb170113353c59218ad7eee to your computer and use it in GitHub Desktop.
Visual C++ prerelease tools property sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <VCToolsInstallDir>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\..\lib\native'))\</VCToolsInstallDir> | |
| </PropertyGroup> | |
| <PropertyGroup> | |
| <VCT_ExecutablePath_x86_x86>$(VCToolsInstallDir)bin</VCT_ExecutablePath_x86_x86> | |
| <VCT_ExecutablePath_x86_x64>$(VCToolsInstallDir)bin\x86_amd64</VCT_ExecutablePath_x86_x64> | |
| <VCT_ExecutablePath_x86_ARM>$(VCToolsInstallDir)bin\x86_arm</VCT_ExecutablePath_x86_ARM> | |
| <VCT_ExecutablePath_x64_x86>$(VCToolsInstallDir)bin\amd64_x86</VCT_ExecutablePath_x64_x86> | |
| <VCT_ExecutablePath_x64_x64>$(VCToolsInstallDir)bin\amd64</VCT_ExecutablePath_x64_x64> | |
| <VCT_ExecutablePath_x64_ARM>$(VCToolsInstallDir)bin\amd64_arm</VCT_ExecutablePath_x64_ARM> | |
| <VCT_ReferencesPath_x86>$(VCToolsInstallDir)lib</VCT_ReferencesPath_x86> | |
| <VCT_ReferencesPath_x64>$(VCToolsInstallDir)lib\amd64</VCT_ReferencesPath_x64> | |
| <VCT_ReferencesPath_ARM>$(VCToolsInstallDir)lib\arm</VCT_ReferencesPath_ARM> | |
| <VCT_IncludePath>$(VCToolsInstallDir)include</VCT_IncludePath> | |
| </PropertyGroup> | |
| <Choose> | |
| <When Condition="'$(WindowsAppContainer)' == 'true'"> | |
| <PropertyGroup> | |
| <VCT_LibraryPath_x86>$(VCToolsInstallDir)lib\store</VCT_LibraryPath_x86> | |
| <VCT_LibraryPath_x64>$(VCToolsInstallDir)lib\amd64\store</VCT_LibraryPath_x64> | |
| <VCT_LibraryPath_ARM>$(VCToolsInstallDir)lib\arm\store</VCT_LibraryPath_ARM> | |
| </PropertyGroup> | |
| </When> | |
| <Otherwise> | |
| <PropertyGroup> | |
| <VCT_LibraryPath_x86>$(VCToolsInstallDir)lib</VCT_LibraryPath_x86> | |
| <VCT_LibraryPath_x64>$(VCToolsInstallDir)lib\amd64</VCT_LibraryPath_x64> | |
| <VCT_LibraryPath_ARM>$(VCToolsInstallDir)lib\arm</VCT_LibraryPath_ARM> | |
| </PropertyGroup> | |
| </Otherwise> | |
| </Choose> | |
| <Choose> | |
| <When Condition="'$(VCToolArchitecture)' == 'Native64Bit'"> | |
| <PropertyGroup> | |
| <VCT_ExecutablePath_x86>$(VCT_ExecutablePath_x64_x86);$(VCT_ExecutablePath_x64_x64)</VCT_ExecutablePath_x86> | |
| <VCT_ExecutablePath_x64>$(VCT_ExecutablePath_x64_x64)</VCT_ExecutablePath_x64> | |
| <VCT_ExecutablePath_ARM>$(VCT_ExecutablePath_x64_ARM);$(VCT_ExecutablePath_x64_x64)</VCT_ExecutablePath_ARM> | |
| </PropertyGroup> | |
| </When> | |
| <Otherwise> | |
| <PropertyGroup> | |
| <VCT_ExecutablePath_x86>$(VCT_ExecutablePath_x86_x86)</VCT_ExecutablePath_x86> | |
| <VCT_ExecutablePath_x64>$(VCT_ExecutablePath_x86_x64);$(VCT_ExecutablePath_x86_x86)</VCT_ExecutablePath_x64> | |
| <VCT_ExecutablePath_ARM>$(VCT_ExecutablePath_x86_ARM);$(VCT_ExecutablePath_x86_x86)</VCT_ExecutablePath_ARM> | |
| </PropertyGroup> | |
| </Otherwise> | |
| </Choose> | |
| <Choose> | |
| <When Condition="'$(Platform)' == 'Win32'"> | |
| <PropertyGroup> | |
| <ExecutablePath>$(ExecutablePath.Replace('$(VC_ExecutablePath_x86)', '$(VCT_ExecutablePath_x86)'))</ExecutablePath> | |
| <ReferencePath>$(VCT_ReferencesPath_x86);$(ReferencePath)</ReferencePath> | |
| <LibraryPath>$(VCT_LibraryPath_x86);$(LibraryPath)</LibraryPath> | |
| <ExcludePath>$(VCT_IncludePath);$(VCT_LibraryPath_x86);$(ExcludePath)</ExcludePath> | |
| </PropertyGroup> | |
| </When> | |
| <When Condition="'$(Platform)' == 'x64'"> | |
| <PropertyGroup> | |
| <ExecutablePath>$(ExecutablePath.Replace('$(VC_ExecutablePath_x64)', '$(VCT_ExecutablePath_x64)'))</ExecutablePath> | |
| <ReferencePath>$(VCT_ReferencesPath_x64);$(ReferencePath)</ReferencePath> | |
| <LibraryPath>$(VCT_LibraryPath_x64);$(LibraryPath)</LibraryPath> | |
| <ExcludePath>$(VCT_IncludePath);$(VCT_LibraryPath_x64);$(ExcludePath)</ExcludePath> | |
| </PropertyGroup> | |
| </When> | |
| <When Condition="'$(Platform)' == 'ARM'"> | |
| <PropertyGroup> | |
| <ExecutablePath>$(ExecutablePath.Replace('$(VC_ExecutablePath_ARM)', '$(VCT_ExecutablePath_ARM)'))</ExecutablePath> | |
| <ReferencePath>$(VCT_ReferencesPath_ARM);$(ReferencePath)</ReferencePath> | |
| <LibraryPath>$(VCT_LibraryPath_ARM);$(LibraryPath)</LibraryPath> | |
| <ExcludePath>$(VCT_IncludePath);$(VCT_LibraryPath_ARM);$(ExcludePath)</ExcludePath> | |
| </PropertyGroup> | |
| </When> | |
| </Choose> | |
| <PropertyGroup> | |
| <IncludePath Condition="'$(VCClangInstallDir)' == ''">$(VCT_IncludePath);$(IncludePath)</IncludePath> | |
| <IncludePath Condition="'$(VCClangInstallDir)' != ''">$(IncludePath.Replace('$(VCClangInstallDir)include', '$(VCClangInstallDir)include;$(VCT_IncludePath)'))</IncludePath> | |
| </PropertyGroup> | |
| </Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment