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/ExpandVolume/ExpandVolume.vcxproj | 147 ++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) (limited to 'src/ExpandVolume/ExpandVolume.vcxproj') diff --git a/src/ExpandVolume/ExpandVolume.vcxproj b/src/ExpandVolume/ExpandVolume.vcxproj index 0db64c99..5fe967bb 100644 --- a/src/ExpandVolume/ExpandVolume.vcxproj +++ b/src/ExpandVolume/ExpandVolume.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 VeraCryptExpander VeraCryptExpander + VeraCryptExpander VeraCryptExpander VeraCryptExpander + VeraCryptExpander @@ -241,6 +277,53 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: copy Release\VeraCryptExpander.exe "..\Release\Setup Files\" + + + %(AdditionalIncludeDirectories) + $(SolutionDir)/Mount/$(ProjectName).tlb + + + + + /w34189 %(AdditionalOptions) + MaxSpeed + ..\Common;..\Crypto;..\;..\pkcs11;..\Common\zlib;..\Common\libzip;%(AdditionalIncludeDirectories) + VCEXPANDER;VC_EFI_CUSTOM_MODE;TCMOUNT;WIN32;HAVE_CONFIG_H;ZIP_STATIC;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions) + MultiThreaded + true + + + All + $(IntDir) + Level3 + ProgramDatabase + 4311;4131;%(DisableSpecificWarnings) + + + ..\Crypto\Release\crypto.lib;..\Common\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) + $(OutDir)VeraCryptExpander.exe + false + mpr.dll;%(DelayLoadDLLs) + true + true + Windows + true + true + true + true + MachineX86 + RequireAdministrator + + + VeraCryptExpander.manifest;%(AdditionalManifestFiles) + + + copy Release\VeraCryptExpander.exe "..\Release\Setup Files\" + + + VC_EFI_CUSTOM_MODE;%(PreprocessorDefinitions) + + %(AdditionalIncludeDirectories) @@ -289,6 +372,54 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: WIN64;%(PreprocessorDefinitions) + + + %(AdditionalIncludeDirectories) + X64 + $(SolutionDir)/Mount/$(ProjectName).tlb + + + + + /w34189 %(AdditionalOptions) + MaxSpeed + ..\Common;..\Crypto;..\;..\pkcs11;..\Common\zlib;..\Common\libzip;%(AdditionalIncludeDirectories) + VCEXPANDER;VC_EFI_CUSTOM_MODE;TCMOUNT;WIN32;HAVE_CONFIG_H;ZIP_STATIC;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions) + MultiThreaded + true + + + All + $(IntDir) + Level3 + ProgramDatabase + 4311;4131;%(DisableSpecificWarnings) + + + ..\Crypto\x64\Release\crypto.lib;..\Common\x64\Release\Zip.lib;mpr.lib;%(AdditionalDependencies) + $(OutDir)VeraCryptExpander.exe + false + mpr.dll;%(DelayLoadDLLs) + true + true + Windows + true + true + true + true + MachineX64 + RequireAdministrator + + + VeraCryptExpander.manifest;%(AdditionalManifestFiles) + + + copy $(TargetPath) "..\Release\Setup Files\VeraCryptExpander-x64.exe" + + + VC_EFI_CUSTOM_MODE;WIN64;%(PreprocessorDefinitions) + + {8b7f059f-e4c7-4e11-88f5-ee8b8433072e} @@ -321,7 +452,9 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp @@ -333,13 +466,17 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp @@ -348,7 +485,9 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp @@ -369,7 +508,9 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp + CompileAsCpp @@ -415,9 +556,13 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: $(SolutionDir)/Mount $(SolutionDir)/Mount/%(Filename)_h.h $(SolutionDir)/Mount + $(SolutionDir)/Mount $(SolutionDir)/Mount/%(Filename)_h.h + $(SolutionDir)/Mount/%(Filename)_h.h $(SolutionDir)/Mount + $(SolutionDir)/Mount $(SolutionDir)/Mount/%(Filename)_h.h + $(SolutionDir)/Mount/%(Filename)_h.h @@ -426,7 +571,9 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: true true true + true true + true -- cgit v1.2.3