Skip to content

Commit 714a281

Browse files
committed
Simplify project configuration.
1 parent 15b4ffd commit 714a281

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

src/Configure.vcxproj

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,37 @@
44
<ProjectConfiguration Include="Debug|Win32">
55
<Configuration>Debug</Configuration>
66
<Platform>Win32</Platform>
7-
<PlatformName>x86</PlatformName>
87
</ProjectConfiguration>
98
<ProjectConfiguration Include="Release|Win32">
109
<Configuration>Release</Configuration>
1110
<Platform>Win32</Platform>
12-
<PlatformName>x86</PlatformName>
1311
</ProjectConfiguration>
1412
<ProjectConfiguration Include="Debug|x64">
1513
<Configuration>Debug</Configuration>
1614
<Platform>x64</Platform>
17-
<PlatformName>x64</PlatformName>
1815
</ProjectConfiguration>
1916
<ProjectConfiguration Include="Release|x64">
2017
<Configuration>Release</Configuration>
2118
<Platform>x64</Platform>
22-
<PlatformName>x64</PlatformName>
2319
</ProjectConfiguration>
2420
<ProjectConfiguration Include="Release|ARM64">
2521
<Configuration>Release</Configuration>
2622
<Platform>ARM64</Platform>
27-
<PlatformName>Arm64</PlatformName>
2823
</ProjectConfiguration>
2924
<ProjectConfiguration Include="Debug|ARM64">
3025
<Configuration>Debug</Configuration>
3126
<Platform>ARM64</Platform>
32-
<PlatformName>Arm64</PlatformName>
3327
</ProjectConfiguration>
3428
</ItemGroup>
29+
<PropertyGroup Condition="'$(Platform)' == 'Win32'">
30+
<PlatformType>x86</PlatformType>
31+
</PropertyGroup>
32+
<PropertyGroup Condition="'$(Platform)' == 'x64'">
33+
<PlatformType>x64</PlatformType>
34+
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Platform)' == 'ARM64'">
36+
<PlatformType>arm64</PlatformType>
37+
</PropertyGroup>
3538
<PropertyGroup Label="Globals">
3639
<SccProjectName />
3740
<SccLocalPath />
@@ -57,25 +60,11 @@
5760
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
5861
<LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental>
5962
<LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental>
60-
<TargetName>Configure.$(PlatformName)</TargetName>
61-
<OutputFolder>..\Artifacts\$(Configuration)\$(PlatformName)</OutputFolder>
63+
<TargetName>Configure.$(PlatformType)</TargetName>
64+
<OutputFolder>..\Artifacts\$(Configuration)\$(PlatformType)</OutputFolder>
6265
<OutDir>$(OutputFolder)\bin\</OutDir>
6366
<IntDir>$(OutputFolder)\obj\</IntDir>
6467
</PropertyGroup>
65-
<ItemDefinitionGroup>
66-
<ClCompile>
67-
<PrecompiledHeaderOutputFile>$(OutputFolder)\Configure.pch</PrecompiledHeaderOutputFile>
68-
<AssemblerListingLocation>$(OutputFolder)\obj\</AssemblerListingLocation>
69-
<ObjectFileName>$(OutputFolder)\obj\</ObjectFileName>
70-
<ProgramDataBaseFileName>$(OutDir)\Configure</ProgramDataBaseFileName>
71-
</ClCompile>
72-
<Link>
73-
<ProgramDatabaseFile>$(OutputFolder)\bin\Configure.$(PlatformName).pdb</ProgramDatabaseFile>
74-
</Link>
75-
<Midl>
76-
<TypeLibraryName>$(OutputFolder)\obj\Configure.tlb</TypeLibraryName>
77-
</Midl>
78-
</ItemDefinitionGroup>
7968
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
8069
<ClCompile>
8170
<AdditionalOptions>/Zm200 %(AdditionalOptions)</AdditionalOptions>

0 commit comments

Comments
 (0)