From 5014090f9dfa7a614844816f319eaf6f31ea0ecf Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 4 Aug 2017 01:46:27 -0400 Subject: [PATCH] Fix PreprocessorDefinitions for ARM AppVeyor error'd with "error MSB8022: Compiling Desktop applications for the ARM platform is not supported" --- .appveyor.yml | 7 ------- cryptdll.vcxproj | 17 +++++++++++++++++ cryptest.vcxproj | 17 +++++++++++++++++ cryptlib.vcxproj | 18 ++++++++++++++++++ dlltest.vcxproj | 17 +++++++++++++++++ 5 files changed, 69 insertions(+), 7 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 5277c594..90c14dfd 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -25,9 +25,6 @@ image: build: off -# Extra copy gyrations due to broken MSbuild. Run 'make appveyor' to update the vcxproj files. Also see -# https://stackoverflow.com/questions/45474857/why-does-appveyor-use-vs2010-tools-for-vs2015-image - test_script: - cmd: >- @@ -42,10 +39,6 @@ test_script: cryptest.exe tv all -# Right now, we have a few failures that we don't know how to workaround. -# - https://stackoverflow.com/questions/43441273/how-to-run-vcupgrade-before-appveyor-build -# - https://stackoverflow.com/questions/43423761/cant-perform-64-bit-testing-under-appveyor - notifications: - provider: Email to: diff --git a/cryptdll.vcxproj b/cryptdll.vcxproj index 73d775bc..66c29151 100644 --- a/cryptdll.vcxproj +++ b/cryptdll.vcxproj @@ -12,6 +12,10 @@ Debug x64 + + Debug + ARM + Release Win32 @@ -20,6 +24,10 @@ Release x64 + + Release + ARM + @@ -123,6 +131,15 @@ true + + + + _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions) + + + MachineARM + + diff --git a/cryptest.vcxproj b/cryptest.vcxproj index 15ab2a5a..c738b877 100644 --- a/cryptest.vcxproj +++ b/cryptest.vcxproj @@ -12,6 +12,10 @@ Debug x64 + + Debug + ARM + Release Win32 @@ -20,6 +24,10 @@ Release x64 + + Release + ARM + DLL-Import Debug Win32 @@ -177,6 +185,15 @@ MachineX64 + + + + _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions) + + + MachineARM + + diff --git a/cryptlib.vcxproj b/cryptlib.vcxproj index 7c04159e..14ccf291 100644 --- a/cryptlib.vcxproj +++ b/cryptlib.vcxproj @@ -12,6 +12,10 @@ Debug x64 + + Debug + ARM + Release Win32 @@ -20,6 +24,11 @@ Release x64 + + Release + ARM + + DLL-Import Debug Win32 @@ -159,6 +168,15 @@ MachineX64 + + + + _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions) + + + MachineARM + + diff --git a/dlltest.vcxproj b/dlltest.vcxproj index 7ad5d0a6..c6624cae 100644 --- a/dlltest.vcxproj +++ b/dlltest.vcxproj @@ -12,6 +12,10 @@ Debug x64 + + Debug + ARM + Release Win32 @@ -20,6 +24,10 @@ Release x64 + + Release + ARM + @@ -123,6 +131,15 @@ MachineX64 + + + + _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions) + + + MachineARM + +