diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 16:23:24 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 17:46:31 +0200 |
commit | 9b4e087882e167d6816c468743fef50a050a1ca4 (patch) | |
tree | eb3d236a755097638f70ea99a920bdc3085a2053 /src/Common/Zip.vcxproj | |
parent | 79aa488106f49ae2a6c7b6f6f4c1065b8f168691 (diff) | |
download | VeraCrypt-9b4e087882e167d6816c468743fef50a050a1ca4.tar.gz VeraCrypt-9b4e087882e167d6816c468743fef50a050a1ca4.zip |
Windows: create dedicated project for zip library and link other binaries against it instead of recompiling zlib and libzip for each project separately.
Diffstat (limited to 'src/Common/Zip.vcxproj')
-rw-r--r-- | src/Common/Zip.vcxproj | 289 |
1 files changed, 289 insertions, 0 deletions
diff --git a/src/Common/Zip.vcxproj b/src/Common/Zip.vcxproj new file mode 100644 index 00000000..3ed43587 --- /dev/null +++ b/src/Common/Zip.vcxproj @@ -0,0 +1,289 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <ItemGroup> + <ClCompile Include="libzip\mkstemp.c" /> + <ClCompile Include="libzip\zip_add.c" /> + <ClCompile Include="libzip\zip_add_dir.c" /> + <ClCompile Include="libzip\zip_add_entry.c" /> + <ClCompile Include="libzip\zip_buffer.c" /> + <ClCompile Include="libzip\zip_close.c" /> + <ClCompile Include="libzip\zip_delete.c" /> + <ClCompile Include="libzip\zip_dirent.c" /> + <ClCompile Include="libzip\zip_dir_add.c" /> + <ClCompile Include="libzip\zip_discard.c" /> + <ClCompile Include="libzip\zip_entry.c" /> + <ClCompile Include="libzip\zip_error.c" /> + <ClCompile Include="libzip\zip_error_clear.c" /> + <ClCompile Include="libzip\zip_error_get.c" /> + <ClCompile Include="libzip\zip_error_get_sys_type.c" /> + <ClCompile Include="libzip\zip_error_strerror.c" /> + <ClCompile Include="libzip\zip_error_to_str.c" /> + <ClCompile Include="libzip\zip_err_str.c" /> + <ClCompile Include="libzip\zip_extra_field.c" /> + <ClCompile Include="libzip\zip_extra_field_api.c" /> + <ClCompile Include="libzip\zip_fclose.c" /> + <ClCompile Include="libzip\zip_fdopen.c" /> + <ClCompile Include="libzip\zip_filerange_crc.c" /> + <ClCompile Include="libzip\zip_file_add.c" /> + <ClCompile Include="libzip\zip_file_error_clear.c" /> + <ClCompile Include="libzip\zip_file_error_get.c" /> + <ClCompile Include="libzip\zip_file_get_comment.c" /> + <ClCompile Include="libzip\zip_file_get_external_attributes.c" /> + <ClCompile Include="libzip\zip_file_get_offset.c" /> + <ClCompile Include="libzip\zip_file_rename.c" /> + <ClCompile Include="libzip\zip_file_replace.c" /> + <ClCompile Include="libzip\zip_file_set_comment.c" /> + <ClCompile Include="libzip\zip_file_set_external_attributes.c" /> + <ClCompile Include="libzip\zip_file_set_mtime.c" /> + <ClCompile Include="libzip\zip_file_strerror.c" /> + <ClCompile Include="libzip\zip_fopen.c" /> + <ClCompile Include="libzip\zip_fopen_encrypted.c" /> + <ClCompile Include="libzip\zip_fopen_index.c" /> + <ClCompile Include="libzip\zip_fopen_index_encrypted.c" /> + <ClCompile Include="libzip\zip_fread.c" /> + <ClCompile Include="libzip\zip_get_archive_comment.c" /> + <ClCompile Include="libzip\zip_get_archive_flag.c" /> + <ClCompile Include="libzip\zip_get_compression_implementation.c" /> + <ClCompile Include="libzip\zip_get_encryption_implementation.c" /> + <ClCompile Include="libzip\zip_get_file_comment.c" /> + <ClCompile Include="libzip\zip_get_name.c" /> + <ClCompile Include="libzip\zip_get_num_entries.c" /> + <ClCompile Include="libzip\zip_get_num_files.c" /> + <ClCompile Include="libzip\zip_hash.c" /> + <ClCompile Include="libzip\zip_io_util.c" /> + <ClCompile Include="libzip\zip_memdup.c" /> + <ClCompile Include="libzip\zip_name_locate.c" /> + <ClCompile Include="libzip\zip_new.c" /> + <ClCompile Include="libzip\zip_open.c" /> + <ClCompile Include="libzip\zip_rename.c" /> + <ClCompile Include="libzip\zip_replace.c" /> + <ClCompile Include="libzip\zip_set_archive_comment.c" /> + <ClCompile Include="libzip\zip_set_archive_flag.c" /> + <ClCompile Include="libzip\zip_set_default_password.c" /> + <ClCompile Include="libzip\zip_set_file_comment.c" /> + <ClCompile Include="libzip\zip_set_file_compression.c" /> + <ClCompile Include="libzip\zip_set_name.c" /> + <ClCompile Include="libzip\zip_source_begin_write.c" /> + <ClCompile Include="libzip\zip_source_buffer.c" /> + <ClCompile Include="libzip\zip_source_call.c" /> + <ClCompile Include="libzip\zip_source_close.c" /> + <ClCompile Include="libzip\zip_source_commit_write.c" /> + <ClCompile Include="libzip\zip_source_crc.c" /> + <ClCompile Include="libzip\zip_source_deflate.c" /> + <ClCompile Include="libzip\zip_source_error.c" /> + <ClCompile Include="libzip\zip_source_filep.c" /> + <ClCompile Include="libzip\zip_source_free.c" /> + <ClCompile Include="libzip\zip_source_function.c" /> + <ClCompile Include="libzip\zip_source_is_deleted.c" /> + <ClCompile Include="libzip\zip_source_layered.c" /> + <ClCompile Include="libzip\zip_source_open.c" /> + <ClCompile Include="libzip\zip_source_pkware.c" /> + <ClCompile Include="libzip\zip_source_read.c" /> + <ClCompile Include="libzip\zip_source_remove.c" /> + <ClCompile Include="libzip\zip_source_rollback_write.c" /> + <ClCompile Include="libzip\zip_source_seek.c" /> + <ClCompile Include="libzip\zip_source_seek_write.c" /> + <ClCompile Include="libzip\zip_source_stat.c" /> + <ClCompile Include="libzip\zip_source_supports.c" /> + <ClCompile Include="libzip\zip_source_tell.c" /> + <ClCompile Include="libzip\zip_source_tell_write.c" /> + <ClCompile Include="libzip\zip_source_win32a.c" /> + <ClCompile Include="libzip\zip_source_win32handle.c" /> + <ClCompile Include="libzip\zip_source_win32utf8.c" /> + <ClCompile Include="libzip\zip_source_win32w.c" /> + <ClCompile Include="libzip\zip_source_window.c" /> + <ClCompile Include="libzip\zip_source_write.c" /> + <ClCompile Include="libzip\zip_source_zip.c" /> + <ClCompile Include="libzip\zip_source_zip_new.c" /> + <ClCompile Include="libzip\zip_stat.c" /> + <ClCompile Include="libzip\zip_stat_index.c" /> + <ClCompile Include="libzip\zip_stat_init.c" /> + <ClCompile Include="libzip\zip_strerror.c" /> + <ClCompile Include="libzip\zip_string.c" /> + <ClCompile Include="libzip\zip_unchange.c" /> + <ClCompile Include="libzip\zip_unchange_all.c" /> + <ClCompile Include="libzip\zip_unchange_archive.c" /> + <ClCompile Include="libzip\zip_unchange_data.c" /> + <ClCompile Include="libzip\zip_utf-8.c" /> + <ClCompile Include="zlib\adler32.c" /> + <ClCompile Include="zlib\compress.c" /> + <ClCompile Include="zlib\crc32.c" /> + <ClCompile Include="zlib\deflate.c" /> + <ClCompile Include="zlib\inffast.c" /> + <ClCompile Include="zlib\inflate.c" /> + <ClCompile Include="zlib\inftrees.c" /> + <ClCompile Include="zlib\trees.c" /> + <ClCompile Include="zlib\uncompr.c" /> + <ClCompile Include="zlib\zutil.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="libzip\compat.h" /> + <ClInclude Include="libzip\config.h" /> + <ClInclude Include="libzip\zconf.h" /> + <ClInclude Include="libzip\zip.h" /> + <ClInclude Include="libzip\zipconf.h" /> + <ClInclude Include="libzip\zipint.h" /> + <ClInclude Include="libzip\zipwin32.h" /> + <ClInclude Include="zlib\crc32.h" /> + <ClInclude Include="zlib\deflate.h" /> + <ClInclude Include="zlib\inffast.h" /> + <ClInclude Include="zlib\inffixed.h" /> + <ClInclude Include="zlib\inflate.h" /> + <ClInclude Include="zlib\inftrees.h" /> + <ClInclude Include="zlib\trees.h" /> + <ClInclude Include="zlib\zconf.h" /> + <ClInclude Include="zlib\zlib.h" /> + <ClInclude Include="zlib\zutil.h" /> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{6316EE71-0210-4CA4-BCC7-CFB7A3C090FC}</ProjectGuid> + <Keyword>Win32Proj</Keyword> + <RootNamespace>Zip</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <CharacterSet>Unicode</CharacterSet> + <PlatformToolset>Windows7.1SDK</PlatformToolset> + <WholeProgramOptimization>false</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <CharacterSet>Unicode</CharacterSet> + <PlatformToolset>Windows7.1SDK</PlatformToolset> + <WholeProgramOptimization>false</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <WholeProgramOptimization>false</WholeProgramOptimization> + <CharacterSet>Unicode</CharacterSet> + <PlatformToolset>Windows7.1SDK</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <WholeProgramOptimization>false</WholeProgramOptimization> + <CharacterSet>Unicode</CharacterSet> + <PlatformToolset>Windows7.1SDK</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <OutDir>$(Platform)\$(Configuration)\</OutDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <OutDir>$(Platform)\$(Configuration)\</OutDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <OutDir>$(Configuration)\</OutDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(Configuration)\</OutDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <PrecompiledHeader> + </PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <Optimization>Disabled</Optimization> + <PreprocessorDefinitions>_CRT_NONSTDC_NO_WARNINGS;_LIB;WIN32;HAVE_CONFIG_H;ZIP_STATIC;DEBUG;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <AdditionalIncludeDirectories>zlib:libzip</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <PrecompiledHeader> + </PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <Optimization>Disabled</Optimization> + <PreprocessorDefinitions>_CRT_NONSTDC_NO_WARNINGS;_LIB;WIN32;HAVE_CONFIG_H;ZIP_STATIC;DEBUG;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <AdditionalIncludeDirectories>zlib;libzip</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <WarningLevel>Level3</WarningLevel> + <PrecompiledHeader> + </PrecompiledHeader> + <Optimization>MaxSpeed</Optimization> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <PreprocessorDefinitions>_CRT_NONSTDC_NO_WARNINGS;_LIB;WIN32;HAVE_CONFIG_H;ZIP_STATIC;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <AdditionalIncludeDirectories>zlib;libzip</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <WarningLevel>Level3</WarningLevel> + <PrecompiledHeader> + </PrecompiledHeader> + <Optimization>MaxSpeed</Optimization> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <PreprocessorDefinitions>_CRT_NONSTDC_NO_WARNINGS;_LIB;WIN32;HAVE_CONFIG_H;ZIP_STATIC;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <AdditionalIncludeDirectories>zlib;libzip</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file |