From a21b2270e8db93d231fa0a3d60776043c9a0f9bc Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 4 Dec 2021 23:55:41 +0100 Subject: Windows: Implement TESTSIGNING build configuration that allows running under Windows Vista,7, 8 and 8.1. --- src/ExpandVolume/ExpandVolume.vcxproj | 144 ++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) (limited to 'src/ExpandVolume/ExpandVolume.vcxproj') diff --git a/src/ExpandVolume/ExpandVolume.vcxproj b/src/ExpandVolume/ExpandVolume.vcxproj index 5fe967bb..bb00fcd4 100644 --- a/src/ExpandVolume/ExpandVolume.vcxproj +++ b/src/ExpandVolume/ExpandVolume.vcxproj @@ -17,6 +17,14 @@ ReleaseCustomEFI x64 + + Release_SkipOsDriverReqCheck + Win32 + + + Release_SkipOsDriverReqCheck + x64 + Release Win32 @@ -37,6 +45,11 @@ Unicode Windows7.1SDK + + Application + Unicode + Windows7.1SDK + Application Unicode @@ -52,6 +65,11 @@ Unicode Windows7.1SDK + + Application + Unicode + Windows7.1SDK + Application Unicode @@ -69,6 +87,10 @@ + + + + @@ -81,6 +103,10 @@ + + + + @@ -101,26 +127,36 @@ true true Release\ + Release\ Release\ Release\ + Release\ Release\ false + false false true + true true $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ false + false false true + true true VeraCryptExpander VeraCryptExpander + VeraCryptExpander VeraCryptExpander VeraCryptExpander VeraCryptExpander + VeraCryptExpander VeraCryptExpander @@ -277,6 +313,50 @@ 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;TCMOUNT;VC_SKIP_OS_DRIVER_REQ_CHECK;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\" + + %(AdditionalIncludeDirectories) @@ -372,6 +452,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;TCMOUNT;VC_SKIP_OS_DRIVER_REQ_CHECK;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" + + + WIN64;%(PreprocessorDefinitions) + + %(AdditionalIncludeDirectories) @@ -452,8 +580,10 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp @@ -466,16 +596,20 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp @@ -485,8 +619,10 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp @@ -508,8 +644,10 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp CompileAsCpp + CompileAsCpp CompileAsCpp @@ -556,12 +694,16 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: $(SolutionDir)/Mount $(SolutionDir)/Mount/%(Filename)_h.h $(SolutionDir)/Mount + $(SolutionDir)/Mount $(SolutionDir)/Mount $(SolutionDir)/Mount/%(Filename)_h.h + $(SolutionDir)/Mount/%(Filename)_h.h $(SolutionDir)/Mount/%(Filename)_h.h $(SolutionDir)/Mount + $(SolutionDir)/Mount $(SolutionDir)/Mount $(SolutionDir)/Mount/%(Filename)_h.h + $(SolutionDir)/Mount/%(Filename)_h.h $(SolutionDir)/Mount/%(Filename)_h.h @@ -571,8 +713,10 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCryptExpander-x64.exe" >NUL: true true true + true true true + true true -- cgit v1.2.3