Skip to content

Commit

Permalink
Apply PreferredToolArchitecture in Common.props, use label attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Nov 24, 2022
1 parent 3f92332 commit 3fd4e57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
10 changes: 7 additions & 3 deletions builds/msvc/properties/Common.props
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<_PropertySheetDisplayName>Common Settings</_PropertySheetDisplayName>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>

<ImportGroup Label="PropertySheets">
<Import Project="$(Platform).props" />
</ImportGroup>
</ImportGroup>

<PropertyGroup Label="Configuration">
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
</PropertyGroup>

<ItemDefinitionGroup>
<ClCompile>
Expand Down Expand Up @@ -42,5 +46,5 @@
<ExternalWarningLevel>Level4</ExternalWarningLevel>
</ClCompile>
</ItemDefinitionGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@
</ProjectConfiguration>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup>
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets">
<Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@
<ConfigurationType Condition="$(Configuration.IndexOf('DLL')) != -1">DynamicLibrary</ConfigurationType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup>
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets">
<Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />
Expand Down

0 comments on commit 3fd4e57

Please sign in to comment.