|
3 | 3 | <PropertyGroup Label="Vcpkg"> |
4 | 4 | <VcpkgEnableManifest>true</VcpkgEnableManifest> |
5 | 5 | <VcpkgInstalledDir>$(MSBuildThisFileDirectory)vcpkg_installed\</VcpkgInstalledDir> |
| 6 | + <!-- Note: For x86, the platform is x86 when building the solution meta-project, and Win32 when building individual projects. --> |
| 7 | + <_VcpkgTripletPlatform>$(Platform)</_VcpkgTripletPlatform> |
| 8 | + <_VcpkgTripletPlatform Condition="'$(Platform)'=='Win32'">x86</_VcpkgTripletPlatform> |
6 | 9 | </PropertyGroup> |
7 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
8 | | - <VcpkgTriplet>x64</VcpkgTriplet> |
| 10 | + <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)'=='Debug'"> |
| 11 | + <VcpkgTriplet>$(_VcpkgTripletPlatform)</VcpkgTriplet> |
9 | 12 | <VcpkgConfiguration>Debug</VcpkgConfiguration> |
10 | 13 | </PropertyGroup> |
11 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> |
12 | | - <VcpkgTriplet>arm64</VcpkgTriplet> |
13 | | - <VcpkgConfiguration>Debug</VcpkgConfiguration> |
14 | | - </PropertyGroup> |
15 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
16 | | - <VcpkgTriplet>x86</VcpkgTriplet> |
17 | | - <VcpkgConfiguration>Debug</VcpkgConfiguration> |
18 | | - </PropertyGroup> |
19 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
20 | | - <VcpkgTriplet>x64-release</VcpkgTriplet> |
21 | | - <VcpkgConfiguration>Release</VcpkgConfiguration> |
22 | | - </PropertyGroup> |
23 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> |
24 | | - <VcpkgTriplet>arm64-release</VcpkgTriplet> |
25 | | - <VcpkgConfiguration>Release</VcpkgConfiguration> |
26 | | - </PropertyGroup> |
27 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
28 | | - <VcpkgTriplet>x86-release</VcpkgTriplet> |
29 | | - <VcpkgConfiguration>Release</VcpkgConfiguration> |
30 | | - </PropertyGroup> |
31 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|x64'"> |
32 | | - <VcpkgTriplet>x64-release-static</VcpkgTriplet> |
33 | | - <VcpkgConfiguration>Release</VcpkgConfiguration> |
34 | | - </PropertyGroup> |
35 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|ARM64'"> |
36 | | - <VcpkgTriplet>arm64-release-static</VcpkgTriplet> |
37 | | - <VcpkgConfiguration>Release</VcpkgConfiguration> |
38 | | - </PropertyGroup> |
39 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|Win32'"> |
40 | | - <VcpkgTriplet>x86-release-static</VcpkgTriplet> |
| 14 | + <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)'=='Release'"> |
| 15 | + <VcpkgTriplet>$(_VcpkgTripletPlatform)-release</VcpkgTriplet> |
41 | 16 | <VcpkgConfiguration>Release</VcpkgConfiguration> |
42 | 17 | </PropertyGroup> |
43 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Fuzzing|x64'"> |
44 | | - <VcpkgTriplet>x64-fuzzing</VcpkgTriplet> |
| 18 | + <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)'=='ReleaseStatic'"> |
| 19 | + <VcpkgTriplet>$(_VcpkgTripletPlatform)-release-static</VcpkgTriplet> |
45 | 20 | <VcpkgConfiguration>Release</VcpkgConfiguration> |
46 | 21 | </PropertyGroup> |
47 | | - <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Fuzzing|Win32'"> |
48 | | - <VcpkgTriplet>x86-fuzzing</VcpkgTriplet> |
| 22 | + <PropertyGroup Label="Vcpkg" Condition="'$(Configuration)'=='Fuzzing'"> |
| 23 | + <VcpkgTriplet>$(_VcpkgTripletPlatform)-fuzzing</VcpkgTriplet> |
49 | 24 | <VcpkgConfiguration>Release</VcpkgConfiguration> |
50 | 25 | </PropertyGroup> |
51 | 26 |
|
|
0 commit comments