From 4a8f068ba559ceb597fb8b417a08c8fc96088aa4 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 8 Sep 2024 17:14:31 +0200 Subject: Windows: Add support for x86 and x64 build for driver and binaries using Visual Studio 2019 We also enable Control Flow Guard and Spectre Mitigation --- src/ExpandVolume/ExpandVolume_vs2019.vcxproj | 54 +++++++++++++++++----------- 1 file changed, 33 insertions(+), 21 deletions(-) (limited to 'src/ExpandVolume/ExpandVolume_vs2019.vcxproj') diff --git a/src/ExpandVolume/ExpandVolume_vs2019.vcxproj b/src/ExpandVolume/ExpandVolume_vs2019.vcxproj index 32937616..e053cadf 100644 --- a/src/ExpandVolume/ExpandVolume_vs2019.vcxproj +++ b/src/ExpandVolume/ExpandVolume_vs2019.vcxproj @@ -50,6 +50,7 @@ Application Unicode v142 + Spectre Application @@ -65,11 +66,13 @@ Application Unicode v142 + Spectre Application Unicode v142 + Spectre Application @@ -133,34 +136,34 @@ <_ProjectFileVersion>10.0.40219.1 - Debug\ - Debug\ + $(ProjectDir)$(Configuration)\ + $(ProjectDir)$(Configuration)\ true true - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ true true true true - Release\ - Release\ - Release\ - Release\ + $(ProjectDir)$(Configuration)\ + $(ProjectDir)$(Configuration)\ + $(ProjectDir)$(Configuration)\ + $(ProjectDir)$(Configuration)\ false false true true - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ + $(ProjectDir)$(Platform)\$(Configuration)\ false false false @@ -199,7 +202,8 @@ EnableFastChecks MultiThreadedDebug true - false + + @@ -222,6 +226,7 @@ true MachineX86 RequireAdministrator + true VeraCryptExpander.manifest;%(AdditionalManifestFiles) @@ -253,7 +258,8 @@ copy Debug\VeraCryptExpander.exe "..\Debug\Setup Files" >NUL: EnableFastChecks MultiThreadedDebug true - false + + @@ -276,6 +282,7 @@ copy Debug\VeraCryptExpander.exe "..\Debug\Setup Files" >NUL: true MachineX64 RequireAdministrator + true VeraCryptExpander.manifest;%(AdditionalManifestFiles) @@ -309,7 +316,8 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: EnableFastChecks MultiThreadedDebug true - false + + @@ -330,6 +338,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: Windows true RequireAdministrator + true VeraCryptExpander.manifest;%(AdditionalManifestFiles) @@ -364,6 +373,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: Level3 ProgramDatabase 4311;4131;%(DisableSpecificWarnings) + Guard ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) @@ -456,6 +466,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: Level3 ProgramDatabase 4311;4131;%(DisableSpecificWarnings) + Guard ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) @@ -503,6 +514,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-arm64.exe" >NUL: Level3 ProgramDatabase 4311;4131;%(DisableSpecificWarnings) + Guard ..\Crypto\ARM64\Release\crypto.lib;..\Common\ARM64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) -- cgit v1.2.3