diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-07-10 18:01:40 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-07-10 22:10:26 +1000 |
| commit | af43f098d7d7cc0fe21c7d7b0fe991763e9cae07 (patch) | |
| tree | c7c03081845e570482d2e78647637c793fc991c1 /src/be | |
| parent | 7f7545f382bb9b885c9bfe894c51e66b443cef25 (diff) | |
| download | wix-af43f098d7d7cc0fe21c7d7b0fe991763e9cae07.tar.gz wix-af43f098d7d7cc0fe21c7d7b0fe991763e9cae07.tar.bz2 wix-af43f098d7d7cc0fe21c7d7b0fe991763e9cae07.zip | |
Add x64 and ARM64 versions of UtilBundleExtension.
Diffstat (limited to 'src/be')
| -rw-r--r-- | src/be/UtilBundleExtension.h | 2 | ||||
| -rw-r--r-- | src/be/beDecor.h | 13 | ||||
| -rw-r--r-- | src/be/precomp.h | 1 | ||||
| -rw-r--r-- | src/be/utilbe.vcxproj | 25 |
4 files changed, 40 insertions, 1 deletions
diff --git a/src/be/UtilBundleExtension.h b/src/be/UtilBundleExtension.h index 16c5b346..c55d6b85 100644 --- a/src/be/UtilBundleExtension.h +++ b/src/be/UtilBundleExtension.h | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | // constants | 5 | // constants |
| 6 | 6 | ||
| 7 | #define UTIL_BUNDLE_EXTENSION_ID L"WixUtilBundleExtension" | 7 | #define UTIL_BUNDLE_EXTENSION_ID BUNDLE_EXTENSION_DECORATION(L"UtilBundleExtension") |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | // function declarations | 10 | // function declarations |
diff --git a/src/be/beDecor.h b/src/be/beDecor.h new file mode 100644 index 00000000..2c6a8818 --- /dev/null +++ b/src/be/beDecor.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #pragma once | ||
| 2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 3 | |||
| 4 | |||
| 5 | #if defined(_M_ARM64) | ||
| 6 | #define BUNDLE_EXTENSION_DECORATION(f) L"Wix4" f L"_A64" | ||
| 7 | #elif defined(_M_AMD64) | ||
| 8 | #define BUNDLE_EXTENSION_DECORATION(f) L"Wix4" f L"_X64" | ||
| 9 | #elif defined(_M_ARM) | ||
| 10 | #define BUNDLE_EXTENSION_DECORATION(f) L"Wix4" f L"_ARM" | ||
| 11 | #else | ||
| 12 | #define BUNDLE_EXTENSION_DECORATION(f) L"Wix4" f L"_X86" | ||
| 13 | #endif | ||
diff --git a/src/be/precomp.h b/src/be/precomp.h index a4ab7abf..76d24c7b 100644 --- a/src/be/precomp.h +++ b/src/be/precomp.h | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | #include <bextutil.h> | 31 | #include <bextutil.h> |
| 32 | #include <BextBundleExtensionEngine.h> | 32 | #include <BextBundleExtensionEngine.h> |
| 33 | 33 | ||
| 34 | #include "beDecor.h" | ||
| 34 | #include "utilsearch.h" | 35 | #include "utilsearch.h" |
| 35 | #include "detectsha2support.h" | 36 | #include "detectsha2support.h" |
| 36 | #include "UtilBundleExtension.h" | 37 | #include "UtilBundleExtension.h" |
diff --git a/src/be/utilbe.vcxproj b/src/be/utilbe.vcxproj index b60fcf9f..3675ccc0 100644 --- a/src/be/utilbe.vcxproj +++ b/src/be/utilbe.vcxproj | |||
| @@ -8,6 +8,30 @@ | |||
| 8 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props')" /> | 8 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props')" /> |
| 9 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props')" /> | 9 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props')" /> |
| 10 | <ItemGroup Label="ProjectConfigurations"> | 10 | <ItemGroup Label="ProjectConfigurations"> |
| 11 | <ProjectConfiguration Include="Debug|ARM"> | ||
| 12 | <Configuration>Debug</Configuration> | ||
| 13 | <Platform>ARM</Platform> | ||
| 14 | </ProjectConfiguration> | ||
| 15 | <ProjectConfiguration Include="Release|ARM"> | ||
| 16 | <Configuration>Release</Configuration> | ||
| 17 | <Platform>ARM</Platform> | ||
| 18 | </ProjectConfiguration> | ||
| 19 | <ProjectConfiguration Include="Debug|ARM64"> | ||
| 20 | <Configuration>Debug</Configuration> | ||
| 21 | <Platform>ARM64</Platform> | ||
| 22 | </ProjectConfiguration> | ||
| 23 | <ProjectConfiguration Include="Release|ARM64"> | ||
| 24 | <Configuration>Release</Configuration> | ||
| 25 | <Platform>ARM64</Platform> | ||
| 26 | </ProjectConfiguration> | ||
| 27 | <ProjectConfiguration Include="Debug|X64"> | ||
| 28 | <Configuration>Debug</Configuration> | ||
| 29 | <Platform>X64</Platform> | ||
| 30 | </ProjectConfiguration> | ||
| 31 | <ProjectConfiguration Include="Release|X64"> | ||
| 32 | <Configuration>Release</Configuration> | ||
| 33 | <Platform>X64</Platform> | ||
| 34 | </ProjectConfiguration> | ||
| 11 | <ProjectConfiguration Include="Debug|Win32"> | 35 | <ProjectConfiguration Include="Debug|Win32"> |
| 12 | <Configuration>Debug</Configuration> | 36 | <Configuration>Debug</Configuration> |
| 13 | <Platform>Win32</Platform> | 37 | <Platform>Win32</Platform> |
| @@ -41,6 +65,7 @@ | |||
| 41 | <ClCompile Include="utilsearch.cpp" /> | 65 | <ClCompile Include="utilsearch.cpp" /> |
| 42 | </ItemGroup> | 66 | </ItemGroup> |
| 43 | <ItemGroup> | 67 | <ItemGroup> |
| 68 | <ClInclude Include="beDecor.h" /> | ||
| 44 | <ClInclude Include="detectsha2support.h" /> | 69 | <ClInclude Include="detectsha2support.h" /> |
| 45 | <ClInclude Include="precomp.h" /> | 70 | <ClInclude Include="precomp.h" /> |
| 46 | <ClInclude Include="UtilBundleExtension.h" /> | 71 | <ClInclude Include="UtilBundleExtension.h" /> |
