Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions builds/msvc/properties/Arm.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<_PropertySheetDisplayName>ARM32 Settings</_PropertySheetDisplayName>
</PropertyGroup>

<ItemDefinitionGroup>
<ClCompile>
<!-- Note that WIN32 and _WIN32 are safe for ARM32 builds and ensure compatibility with
Windows headers, as they imply Windows 32-bit or above. _ARM_ indicates the 32-bit ARM
architecture. -->
<PreprocessorDefinitions>WIN32;_WIN32;_ARM_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<TargetMachine>MachineARM</TargetMachine>
</Link>
<Lib>
<AdditionalOptions>/MACHINE:ARM %(AdditionalOptions)</AdditionalOptions>
</Lib>
</ItemDefinitionGroup>

</Project>
23 changes: 23 additions & 0 deletions builds/msvc/properties/Arm64.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<_PropertySheetDisplayName>ARM64 Settings</_PropertySheetDisplayName>
</PropertyGroup>

<ItemDefinitionGroup>
<ClCompile>
<!-- Note that Win32 defines may cause WIN32 to become defined when using Windows headers,
but _WIN32 implies Windows 32-bit or above. These are safe for ARM64 builds and ensure
compatibility with Windows headers. _ARM64 indicates the ARM64 architecture. -->
<PreprocessorDefinitions>WIN32;_WIN32;_ARM64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<TargetMachine>MachineARM64</TargetMachine>
</Link>
<Lib>
<AdditionalOptions>/MACHINE:ARM64 %(AdditionalOptions)</AdditionalOptions>
</Lib>
</ItemDefinitionGroup>

</Project>
Loading