From a20b3083b058901572953364dccbdd4cad8f3c5a Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 26 Jan 2019 01:18:03 +0100 Subject: Windows: Add a build configuration containing EFI bootloader signed with custom SecureBoot key instead --- src/Format/Format.vcxproj | 135 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) (limited to 'src/Format/Format.vcxproj') diff --git a/src/Format/Format.vcxproj b/src/Format/Format.vcxproj index 7d21e818..204654e1 100644 --- a/src/Format/Format.vcxproj +++ b/src/Format/Format.vcxproj @@ -9,6 +9,14 @@ Debug x64 + + ReleaseCustomEFI + Win32 + + + ReleaseCustomEFI + x64 + Release Win32 @@ -29,6 +37,11 @@ Unicode Windows7.1SDK + + Application + Unicode + Windows7.1SDK + Application Unicode @@ -39,6 +52,11 @@ Unicode Windows7.1SDK + + Application + Unicode + Windows7.1SDK + Application Unicode @@ -51,6 +69,10 @@ + + + + @@ -59,6 +81,10 @@ + + + + @@ -75,17 +101,27 @@ true true Release\ + Release\ Release\ + Release\ false + false true + true $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ false + false true + true VeraCryptFormat VeraCryptFormat + VeraCryptFormat VeraCryptFormat VeraCryptFormat + VeraCryptFormat @@ -209,6 +245,49 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: copy Release\VeraCryptFormat.exe "..\Release\Setup Files\VeraCrypt Format.exe" + + + $(SolutionDir)/$(ProjectName)/$(ProjectName).tlb + + + /w34189 %(AdditionalOptions) + MaxSpeed + ..\Common;..\Crypto;..\;..\PKCS11;..\Common\zlib;..\Common\libzip;%(AdditionalIncludeDirectories) + VOLFORMAT;VC_EFI_CUSTOM_MODE;WIN32;HAVE_CONFIG_H;ZIP_STATIC;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions) + MultiThreaded + true + + + All + $(IntDir) + Level4 + ProgramDatabase + 4057;4100;4127;4201;4204;4701;4706;4131;%(DisableSpecificWarnings) + + + ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) + $(OutDir)VeraCryptFormat.exe + false + mpr.dll;%(DelayLoadDLLs) + true + true + Windows + true + true + true + true + MachineX86 + + + Format.manifest;%(AdditionalManifestFiles) + + + copy Release\VeraCryptFormat.exe "..\Release\Setup Files\VeraCrypt Format.exe" + + + VC_EFI_CUSTOM_MODE;%(PreprocessorDefinitions) + + X64 @@ -253,19 +332,67 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: WIN64;%(PreprocessorDefinitions) + + + X64 + $(SolutionDir)/$(ProjectName)/$(ProjectName).tlb + + + /w34189 %(AdditionalOptions) + MaxSpeed + ..\Common;..\Crypto;..\;..\PKCS11;..\Common\zlib;..\Common\libzip;%(AdditionalIncludeDirectories) + VOLFORMAT;VC_EFI_CUSTOM_MODE;WIN32;HAVE_CONFIG_H;ZIP_STATIC;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions) + MultiThreaded + true + + + All + $(IntDir) + Level4 + ProgramDatabase + 4057;4100;4127;4201;4204;4701;4706;4131;%(DisableSpecificWarnings) + + + ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) + $(OutDir)VeraCryptFormat.exe + false + mpr.dll;%(DelayLoadDLLs) + true + true + Windows + true + true + true + true + MachineX64 + + + Format.manifest;%(AdditionalManifestFiles) + + + copy $(TargetPath) "..\Release\Setup Files\VeraCrypt Format-x64.exe" + + + VC_EFI_CUSTOM_MODE;WIN64;%(PreprocessorDefinitions) + + CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp @@ -277,13 +404,17 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp @@ -294,7 +425,9 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp @@ -397,7 +530,9 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: true true true + true true + true -- cgit v1.2.3