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/Mount/Mount_vs2019.vcxproj | 54 ++++++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 21 deletions(-) (limited to 'src/Mount') diff --git a/src/Mount/Mount_vs2019.vcxproj b/src/Mount/Mount_vs2019.vcxproj index 4a944eec..c63953fc 100644 --- a/src/Mount/Mount_vs2019.vcxproj +++ b/src/Mount/Mount_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 @@ -195,7 +198,8 @@ EnableFastChecks MultiThreadedDebug true - false + + @@ -217,6 +221,7 @@ false true MachineX86 + true Mount.manifest;%(AdditionalManifestFiles) @@ -244,7 +249,8 @@ copy Debug\VeraCrypt.exe "..\Debug\Setup Files" >NUL: EnableFastChecks MultiThreadedDebug true - false + + @@ -266,6 +272,7 @@ copy Debug\VeraCrypt.exe "..\Debug\Setup Files" >NUL: false true MachineX64 + true Mount.manifest;%(AdditionalManifestFiles) @@ -295,7 +302,8 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt-x64.exe" >NUL: EnableFastChecks MultiThreadedDebug true - false + + @@ -315,6 +323,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt-x64.exe" >NUL: $(OutDir)Mount.pdb Windows true + true Mount.manifest;%(AdditionalManifestFiles) @@ -349,6 +358,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt-arm64.exe" >NUL: Level4 ProgramDatabase 4057;4100;4127;4201;4701;4706;4131;%(DisableSpecificWarnings) + Guard ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) @@ -439,6 +449,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt-arm64.exe" >NUL: Level4 ProgramDatabase 4057;4100;4127;4201;4701;4706;4131;%(DisableSpecificWarnings) + Guard ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) @@ -485,6 +496,7 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt-arm64.exe" >NUL: Level4 ProgramDatabase 4057;4100;4127;4201;4701;4706;4131;%(DisableSpecificWarnings) + Guard ..\Crypto\ARM64\Release\crypto.lib;..\Common\ARM64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) -- cgit v1.2.3