Skip to content

Commit dcf9376

Browse files
committed
Add ARM64 platform target
1 parent ae779c0 commit dcf9376

File tree

4 files changed

+133
-0
lines changed

4 files changed

+133
-0
lines changed

UWPDumper.sln

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,34 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UWPInjector", "UWPInjector\
1212
EndProject
1313
Global
1414
GlobalSection(SolutionConfigurationPlatforms) = preSolution
15+
Debug|ARM64 = Debug|ARM64
1516
Debug|x64 = Debug|x64
1617
Debug|x86 = Debug|x86
18+
Release|ARM64 = Release|ARM64
1719
Release|x64 = Release|x64
1820
Release|x86 = Release|x86
1921
EndGlobalSection
2022
GlobalSection(ProjectConfigurationPlatforms) = postSolution
23+
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Debug|ARM64.ActiveCfg = Debug|ARM64
24+
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Debug|ARM64.Build.0 = Debug|ARM64
2125
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Debug|x64.ActiveCfg = Debug|x64
2226
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Debug|x64.Build.0 = Debug|x64
2327
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Debug|x86.ActiveCfg = Debug|Win32
2428
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Debug|x86.Build.0 = Debug|Win32
29+
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Release|ARM64.ActiveCfg = Release|ARM64
30+
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Release|ARM64.Build.0 = Release|ARM64
2531
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Release|x64.ActiveCfg = Release|x64
2632
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Release|x64.Build.0 = Release|x64
2733
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Release|x86.ActiveCfg = Release|Win32
2834
{169F3E39-2CC2-4136-AD6A-23EA935AE150}.Release|x86.Build.0 = Release|Win32
35+
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Debug|ARM64.ActiveCfg = Debug|ARM64
36+
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Debug|ARM64.Build.0 = Debug|ARM64
2937
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Debug|x64.ActiveCfg = Debug|x64
3038
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Debug|x64.Build.0 = Debug|x64
3139
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Debug|x86.ActiveCfg = Debug|Win32
3240
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Debug|x86.Build.0 = Debug|Win32
41+
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Release|ARM64.ActiveCfg = Release|ARM64
42+
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Release|ARM64.Build.0 = Release|ARM64
3343
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Release|x64.ActiveCfg = Release|x64
3444
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Release|x64.Build.0 = Release|x64
3545
{7B3AF0F2-1ADD-4145-B91F-328829797CEE}.Release|x86.ActiveCfg = Release|Win32

UWPDumper/UWPDumper.vcxproj

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|ARM64">
5+
<Configuration>Debug</Configuration>
6+
<Platform>ARM64</Platform>
7+
</ProjectConfiguration>
48
<ProjectConfiguration Include="Debug|Win32">
59
<Configuration>Debug</Configuration>
610
<Platform>Win32</Platform>
711
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release|ARM64">
13+
<Configuration>Release</Configuration>
14+
<Platform>ARM64</Platform>
15+
</ProjectConfiguration>
816
<ProjectConfiguration Include="Release|Win32">
917
<Configuration>Release</Configuration>
1018
<Platform>Win32</Platform>
@@ -43,13 +51,26 @@
4351
<PlatformToolset>v143</PlatformToolset>
4452
<CharacterSet>MultiByte</CharacterSet>
4553
</PropertyGroup>
54+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
55+
<ConfigurationType>DynamicLibrary</ConfigurationType>
56+
<UseDebugLibraries>true</UseDebugLibraries>
57+
<PlatformToolset>v143</PlatformToolset>
58+
<CharacterSet>MultiByte</CharacterSet>
59+
</PropertyGroup>
4660
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4761
<ConfigurationType>DynamicLibrary</ConfigurationType>
4862
<UseDebugLibraries>false</UseDebugLibraries>
4963
<PlatformToolset>v142</PlatformToolset>
5064
<WholeProgramOptimization>true</WholeProgramOptimization>
5165
<CharacterSet>MultiByte</CharacterSet>
5266
</PropertyGroup>
67+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
68+
<ConfigurationType>DynamicLibrary</ConfigurationType>
69+
<UseDebugLibraries>false</UseDebugLibraries>
70+
<PlatformToolset>v142</PlatformToolset>
71+
<WholeProgramOptimization>true</WholeProgramOptimization>
72+
<CharacterSet>MultiByte</CharacterSet>
73+
</PropertyGroup>
5374
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
5475
<ImportGroup Label="ExtensionSettings">
5576
</ImportGroup>
@@ -64,9 +85,15 @@
6485
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
6586
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6687
</ImportGroup>
88+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="PropertySheets">
89+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
90+
</ImportGroup>
6791
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
6892
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6993
</ImportGroup>
94+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="PropertySheets">
95+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
96+
</ImportGroup>
7097
<PropertyGroup Label="UserMacros" />
7198
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7299
<OutDir>$(SolutionDir)$(PlatformTarget)\</OutDir>
@@ -110,6 +137,20 @@
110137
<AdditionalDependencies>runtimeobject.lib;Shell32.lib</AdditionalDependencies>
111138
</Link>
112139
</ItemDefinitionGroup>
140+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
141+
<ClCompile>
142+
<WarningLevel>Level3</WarningLevel>
143+
<Optimization>Disabled</Optimization>
144+
<SDLCheck>true</SDLCheck>
145+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
146+
<AdditionalIncludeDirectories>$(ProjectDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
147+
<PreprocessorDefinitions>IPC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
148+
<LanguageStandard>stdcpplatest</LanguageStandard>
149+
</ClCompile>
150+
<Link>
151+
<AdditionalDependencies>runtimeobject.lib;Shell32.lib</AdditionalDependencies>
152+
</Link>
153+
</ItemDefinitionGroup>
113154
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
114155
<ClCompile>
115156
<WarningLevel>Level3</WarningLevel>
@@ -146,13 +187,34 @@
146187
<AdditionalDependencies>runtimeobject.lib;Shell32.lib</AdditionalDependencies>
147188
</Link>
148189
</ItemDefinitionGroup>
190+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
191+
<ClCompile>
192+
<WarningLevel>Level3</WarningLevel>
193+
<Optimization>MaxSpeed</Optimization>
194+
<FunctionLevelLinking>true</FunctionLevelLinking>
195+
<IntrinsicFunctions>true</IntrinsicFunctions>
196+
<SDLCheck>true</SDLCheck>
197+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
198+
<AdditionalIncludeDirectories>$(ProjectDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
199+
<PreprocessorDefinitions>IPC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
200+
<LanguageStandard>stdcpplatest</LanguageStandard>
201+
</ClCompile>
202+
<Link>
203+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
204+
<OptimizeReferences>true</OptimizeReferences>
205+
<AdditionalDependencies>runtimeobject.lib;Shell32.lib</AdditionalDependencies>
206+
</Link>
207+
</ItemDefinitionGroup>
149208
<ItemGroup>
150209
<ClCompile Include="source\UWP\DumperIPC.cpp">
151210
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|x64'">stdcpp17</LanguageStandard>
211+
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">stdcpp17</LanguageStandard>
152212
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdcpp17</LanguageStandard>
213+
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">stdcpp17</LanguageStandard>
153214
</ClCompile>
154215
<ClCompile Include="main.cpp">
155216
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdcpp17</LanguageStandard>
217+
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">stdcpp17</LanguageStandard>
156218
</ClCompile>
157219
<ClCompile Include="source\UWP\UWP.cpp" />
158220
</ItemGroup>

UWPInjector/UWPInjector.vcxproj

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|ARM64">
5+
<Configuration>Debug</Configuration>
6+
<Platform>ARM64</Platform>
7+
</ProjectConfiguration>
48
<ProjectConfiguration Include="Debug|Win32">
59
<Configuration>Debug</Configuration>
610
<Platform>Win32</Platform>
711
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release|ARM64">
13+
<Configuration>Release</Configuration>
14+
<Platform>ARM64</Platform>
15+
</ProjectConfiguration>
816
<ProjectConfiguration Include="Release|Win32">
917
<Configuration>Release</Configuration>
1018
<Platform>Win32</Platform>
@@ -43,13 +51,26 @@
4351
<PlatformToolset>v143</PlatformToolset>
4452
<CharacterSet>MultiByte</CharacterSet>
4553
</PropertyGroup>
54+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
55+
<ConfigurationType>Application</ConfigurationType>
56+
<UseDebugLibraries>true</UseDebugLibraries>
57+
<PlatformToolset>v143</PlatformToolset>
58+
<CharacterSet>MultiByte</CharacterSet>
59+
</PropertyGroup>
4660
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4761
<ConfigurationType>Application</ConfigurationType>
4862
<UseDebugLibraries>false</UseDebugLibraries>
4963
<PlatformToolset>v142</PlatformToolset>
5064
<WholeProgramOptimization>true</WholeProgramOptimization>
5165
<CharacterSet>MultiByte</CharacterSet>
5266
</PropertyGroup>
67+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
68+
<ConfigurationType>Application</ConfigurationType>
69+
<UseDebugLibraries>false</UseDebugLibraries>
70+
<PlatformToolset>v142</PlatformToolset>
71+
<WholeProgramOptimization>true</WholeProgramOptimization>
72+
<CharacterSet>MultiByte</CharacterSet>
73+
</PropertyGroup>
5374
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
5475
<ImportGroup Label="ExtensionSettings">
5576
</ImportGroup>
@@ -64,9 +85,15 @@
6485
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
6586
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6687
</ImportGroup>
88+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="PropertySheets">
89+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
90+
</ImportGroup>
6791
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
6892
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6993
</ImportGroup>
94+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="PropertySheets">
95+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
96+
</ImportGroup>
7097
<PropertyGroup Label="UserMacros" />
7198
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7299
<OutDir>$(SolutionDir)$(PlatformTarget)\</OutDir>
@@ -108,6 +135,19 @@
108135
<AdditionalDependencies>UWPDumper.lib;%(AdditionalDependencies)</AdditionalDependencies>
109136
</Link>
110137
</ItemDefinitionGroup>
138+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
139+
<ClCompile>
140+
<WarningLevel>Level3</WarningLevel>
141+
<Optimization>Disabled</Optimization>
142+
<SDLCheck>true</SDLCheck>
143+
<AdditionalIncludeDirectories>$(SolutionDir)UWPDumper\include;$(ProjectDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
144+
<LanguageStandard>stdcpplatest</LanguageStandard>
145+
</ClCompile>
146+
<Link>
147+
<AdditionalLibraryDirectories>$(OutputPath);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
148+
<AdditionalDependencies>UWPDumper.lib;%(AdditionalDependencies)</AdditionalDependencies>
149+
</Link>
150+
</ItemDefinitionGroup>
111151
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
112152
<ClCompile>
113153
<WarningLevel>Level3</WarningLevel>
@@ -142,6 +182,23 @@
142182
<AdditionalDependencies>UWPDumper.lib;%(AdditionalDependencies)</AdditionalDependencies>
143183
</Link>
144184
</ItemDefinitionGroup>
185+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
186+
<ClCompile>
187+
<WarningLevel>Level3</WarningLevel>
188+
<Optimization>MaxSpeed</Optimization>
189+
<FunctionLevelLinking>true</FunctionLevelLinking>
190+
<IntrinsicFunctions>true</IntrinsicFunctions>
191+
<SDLCheck>true</SDLCheck>
192+
<AdditionalIncludeDirectories>$(SolutionDir)UWPDumper\include;$(ProjectDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
193+
<LanguageStandard>stdcpplatest</LanguageStandard>
194+
</ClCompile>
195+
<Link>
196+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
197+
<OptimizeReferences>true</OptimizeReferences>
198+
<AdditionalLibraryDirectories>$(OutputPath);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
199+
<AdditionalDependencies>UWPDumper.lib;%(AdditionalDependencies)</AdditionalDependencies>
200+
</Link>
201+
</ItemDefinitionGroup>
145202
<ItemGroup>
146203
<ClCompile Include="source\main.cpp" />
147204
</ItemGroup>

UWPInjector/UWPInjector.vcxproj.user

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
</LocalDebuggerCommandArguments>
66
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
77
</PropertyGroup>
8+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
9+
<LocalDebuggerCommandArguments />
10+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
11+
</PropertyGroup>
812
<PropertyGroup>
913
<ShowAllFiles>false</ShowAllFiles>
1014
</PropertyGroup>

0 commit comments

Comments
 (0)