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/COMReg/COMReg_vs2019.vcxproj | 120 +++++++++++++++++++++++++++++++ src/COMReg/COMReg_vs2019.vcxproj.filters | 49 +++++++++++++ src/COMReg/COMReg_vs2019.vcxproj.user | 7 ++ 3 files changed, 176 insertions(+) create mode 100644 src/COMReg/COMReg_vs2019.vcxproj create mode 100644 src/COMReg/COMReg_vs2019.vcxproj.filters create mode 100644 src/COMReg/COMReg_vs2019.vcxproj.user (limited to 'src/COMReg') diff --git a/src/COMReg/COMReg_vs2019.vcxproj b/src/COMReg/COMReg_vs2019.vcxproj new file mode 100644 index 00000000..b85658ac --- /dev/null +++ b/src/COMReg/COMReg_vs2019.vcxproj @@ -0,0 +1,120 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {C8914211-32AC-4F48-ACD9-8212E8DE53F3} + Win32Proj + COMReg + COMReg + 10.0 + + + + Application + true + Unicode + v142 + + + Application + false + true + Unicode + v142 + + + + + + + + + + + + + true + VeraCryptCOMRegBase + $(ProjectDir)$(ConfigurationName)\ + $(ProjectDir)$(ConfigurationName)\ + + + false + VeraCryptCOMRegBase + $(ProjectDir)$(ConfigurationName)\ + $(ProjectDir)$(ConfigurationName)\ + + + + NotUsing + Level3 + Disabled + WIN32;VC_COMREG;_DEBUG;_WINDOWS;HAVE_CONFIG_H;ZIP_STATIC;%(PreprocessorDefinitions) + MultiThreadedDebug + ..\Setup;..\Common;..\Crypto;..\;..\PKCS11;..\Common\zlib;..\Common\libzip;..\Common\lzma;%(AdditionalIncludeDirectories) + + + Windows + true + ..\Common\Debug\Zip.lib;..\Crypto\Debug\crypto.lib;..\Common\Debug\lzma.lib;%(AdditionalDependencies) + + + copy Debug\VeraCryptCOMRegBase.exe "..\Debug\Setup Files\VeraCryptCOMRegBase.exe" + + + + + Level3 + NotUsing + MaxSpeed + true + true + WIN32;VC_COMREG;NDEBUG;_WINDOWS;HAVE_CONFIG_H;ZIP_STATIC;%(PreprocessorDefinitions) + MultiThreaded + ..\Setup;..\Common;..\Crypto;..\;..\PKCS11;..\Common\zlib;..\Common\libzip;..\Common\lzma;%(AdditionalIncludeDirectories) + Guard + + + Windows + true + true + true + ..\Common\Release\Zip.lib;..\Crypto\Release\crypto.lib;..\Common\Release\lzma.lib;%(AdditionalDependencies) + true + + + copy Release\VeraCryptCOMRegBase.exe "..\Release\Setup Files\VeraCryptCOMRegBase.exe" + + + + + + CompileAsCpp + CompileAsCpp + + + Default + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/COMReg/COMReg_vs2019.vcxproj.filters b/src/COMReg/COMReg_vs2019.vcxproj.filters new file mode 100644 index 00000000..cc5c60a3 --- /dev/null +++ b/src/COMReg/COMReg_vs2019.vcxproj.filters @@ -0,0 +1,49 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {453a6bf1-2afd-4016-8b8f-e3821a6c8ab5} + + + {efcd999c-3973-4bd6-af14-0583669e6722} + + + + + Source Files + + + Source Files + + + Source Files\Common + + + Source Files\Common + + + + + Resource Files + + + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/src/COMReg/COMReg_vs2019.vcxproj.user b/src/COMReg/COMReg_vs2019.vcxproj.user new file mode 100644 index 00000000..deea718b --- /dev/null +++ b/src/COMReg/COMReg_vs2019.vcxproj.user @@ -0,0 +1,7 @@ + + + + $(TargetPath) + WindowsLocalDebugger + + \ No newline at end of file -- cgit v1.2.3