diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-09-26 14:05:44 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 18:40:17 +0200 |
commit | 4a435870f6efb2e77c7007c7b6187ba7c9b2255b (patch) | |
tree | 23acb919e68a343d78723f657117aa089b13a5a7 /src/Format/Format.vcxproj | |
parent | f40755fd7cb0c16ab37d016682d82e8fea4349b7 (diff) | |
download | VeraCrypt-4a435870f6efb2e77c7007c7b6187ba7c9b2255b.tar.gz VeraCrypt-4a435870f6efb2e77c7007c7b6187ba7c9b2255b.zip |
Windows: exclude unused libzip source files from build.
Diffstat (limited to 'src/Format/Format.vcxproj')
-rw-r--r-- | src/Format/Format.vcxproj | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/src/Format/Format.vcxproj b/src/Format/Format.vcxproj index 3090ffc0..6665594b 100644 --- a/src/Format/Format.vcxproj +++ b/src/Format/Format.vcxproj @@ -249,15 +249,35 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: </PostBuildEvent> </ItemDefinitionGroup> <ItemGroup> - <ClCompile Include="..\Common\libzip\mkstemp.c" /> + <ClCompile Include="..\Common\libzip\mkstemp.c"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\Common\libzip\zip_add.c" /> - <ClCompile Include="..\Common\libzip\zip_add_dir.c" /> + <ClCompile Include="..\Common\libzip\zip_add_dir.c"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\Common\libzip\zip_add_entry.c" /> <ClCompile Include="..\Common\libzip\zip_buffer.c" /> <ClCompile Include="..\Common\libzip\zip_close.c" /> - <ClCompile Include="..\Common\libzip\zip_delete.c" /> + <ClCompile Include="..\Common\libzip\zip_delete.c"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\Common\libzip\zip_dirent.c" /> - <ClCompile Include="..\Common\libzip\zip_dir_add.c" /> + <ClCompile Include="..\Common\libzip\zip_dir_add.c"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\Common\libzip\zip_discard.c" /> <ClCompile Include="..\Common\libzip\zip_entry.c" /> <ClCompile Include="..\Common\libzip\zip_error.c" /> @@ -270,7 +290,12 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: <ClCompile Include="..\Common\libzip\zip_extra_field.c" /> <ClCompile Include="..\Common\libzip\zip_extra_field_api.c" /> <ClCompile Include="..\Common\libzip\zip_fclose.c" /> - <ClCompile Include="..\Common\libzip\zip_fdopen.c" /> + <ClCompile Include="..\Common\libzip\zip_fdopen.c"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\Common\libzip\zip_filerange_crc.c" /> <ClCompile Include="..\Common\libzip\zip_file_add.c" /> <ClCompile Include="..\Common\libzip\zip_file_error_clear.c" /> @@ -319,7 +344,12 @@ copy $(TargetPath) "..\Debug\Setup Files\VeraCrypt Format-x64.exe" >NUL: <ClCompile Include="..\Common\libzip\zip_source_crc.c" /> <ClCompile Include="..\Common\libzip\zip_source_deflate.c" /> <ClCompile Include="..\Common\libzip\zip_source_error.c" /> - <ClCompile Include="..\Common\libzip\zip_source_filep.c" /> + <ClCompile Include="..\Common\libzip\zip_source_filep.c"> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> + </ClCompile> <ClCompile Include="..\Common\libzip\zip_source_free.c" /> <ClCompile Include="..\Common\libzip\zip_source_function.c" /> <ClCompile Include="..\Common\libzip\zip_source_is_deleted.c" /> |