From: Owen Smith Date: Thu, 12 Aug 2021 12:33:46 +0000 (+0100) Subject: Fix build with later WDKs X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=910c2a3f720163215b46854bbbb4693d2b98747c;p=pvdrivers%2Fwin%2Fxencons.git Fix build with later WDKs - Adds alias for GetProjectInfoForReference target to version.vcxproj Later kits seemed to have renamed the build target, and will fail without this alias target. - Adds "/fd sha256" to signtool command line WDK 20344 and later require binaries signed with a SHA256 file digest, or the build outputs are deleted Signed-off-by: Owen Smith - Squash warnings 4061 (in xencons.vcxproj) and 26052 (in xencons_monitor.vcxproj) to avoid bogus noise. Signed-off-by: Paul Durrant --- diff --git a/vs2019/package/package.vcxproj b/vs2019/package/package.vcxproj index 2248fe0..0e86126 100644 --- a/vs2019/package/package.vcxproj +++ b/vs2019/package/package.vcxproj @@ -32,6 +32,11 @@ ..\$(ProjectName)\$(ConfigurationName)\$(Platform)\ ..\$(ConfigurationName)\$(Platform)\ + + + sha256 + + ..\..\$(SolutionName)\x86 diff --git a/vs2019/version/version.vcxproj b/vs2019/version/version.vcxproj index 9d149d0..b6ec6f3 100644 --- a/vs2019/version/version.vcxproj +++ b/vs2019/version/version.vcxproj @@ -13,4 +13,10 @@ + + + + + diff --git a/vs2019/xencons/xencons.vcxproj b/vs2019/xencons/xencons.vcxproj index 6cabdcf..3e6ffec 100644 --- a/vs2019/xencons/xencons.vcxproj +++ b/vs2019/xencons/xencons.vcxproj @@ -24,7 +24,7 @@ PROJECT=$(ProjectName);POOL_NX_OPTIN=1;NT_PROCESSOR_GROUPS;%(PreprocessorDefinitions) true EnableAllWarnings - 4464;4711;4770;4548;4820;4668;4255;5045;6001;6054;26451;28196;30030;30029;%(DisableSpecificWarnings) + 4061;4464;4711;4770;4548;4820;4668;4255;5045;6001;6054;26451;28196;30030;30029;%(DisableSpecificWarnings) true true @@ -36,6 +36,9 @@ $(DDK_LIB_PATH)/Rtlver.lib;$(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;$(DDK_LIB_PATH)/ksecdd.lib;$(DDK_LIB_PATH)/procgrp.lib;$(DDK_LIB_PATH)/wdmsec.lib;%(AdditionalDependencies) UseLinkTimeCodeGeneration + + sha256 + diff --git a/vs2019/xencons_coinst/xencons_coinst.vcxproj b/vs2019/xencons_coinst/xencons_coinst.vcxproj index 27f54c5..b10a8ca 100644 --- a/vs2019/xencons_coinst/xencons_coinst.vcxproj +++ b/vs2019/xencons_coinst/xencons_coinst.vcxproj @@ -34,6 +34,9 @@ ../../src/coinst/xencons_coinst.def setupapi.lib;%(AdditionalDependencies) + + sha256 + diff --git a/vs2019/xencons_monitor/xencons_monitor.vcxproj b/vs2019/xencons_monitor/xencons_monitor.vcxproj index c867fa8..f94d26d 100644 --- a/vs2019/xencons_monitor/xencons_monitor.vcxproj +++ b/vs2019/xencons_monitor/xencons_monitor.vcxproj @@ -25,7 +25,7 @@ $(SolutionDir)..\include;%(AdditionalIncludeDirectories) PROJECT=$(ProjectName);WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) EnableAllWarnings - 4127;4711;4548;4820;4668;4255;5032;5045;6001;6054;28196;%(DisableSpecificWarnings) + 4127;4711;4548;4820;4668;4255;5032;5045;6001;6054;26052;28196;%(DisableSpecificWarnings) true true MultiThreadedDebug @@ -37,6 +37,9 @@ $(SolutionDir)..\include;%(AdditionalIncludeDirectories) + + sha256 + diff --git a/vs2019/xencons_tty/xencons_tty.vcxproj b/vs2019/xencons_tty/xencons_tty.vcxproj index 16a04ff..303f158 100644 --- a/vs2019/xencons_tty/xencons_tty.vcxproj +++ b/vs2019/xencons_tty/xencons_tty.vcxproj @@ -34,6 +34,9 @@ $(SolutionDir)..\include;%(AdditionalIncludeDirectories) + + sha256 +