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/Setup/Setup.vcxproj | |
parent | f40755fd7cb0c16ab37d016682d82e8fea4349b7 (diff) | |
download | VeraCrypt-4a435870f6efb2e77c7007c7b6187ba7c9b2255b.tar.gz VeraCrypt-4a435870f6efb2e77c7007c7b6187ba7c9b2255b.zip |
Windows: exclude unused libzip source files from build.
Diffstat (limited to 'src/Setup/Setup.vcxproj')
-rw-r--r-- | src/Setup/Setup.vcxproj | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/src/Setup/Setup.vcxproj b/src/Setup/Setup.vcxproj index af2221aa..843dc659 100644 --- a/src/Setup/Setup.vcxproj +++ b/src/Setup/Setup.vcxproj @@ -129,15 +129,27 @@ copy Debug\VeraCryptSetup.exe "..\Debug\Setup Files\VeraCrypt Setup.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> + </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> + </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> + </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> + </ClCompile> <ClCompile Include="..\Common\libzip\zip_discard.c" /> <ClCompile Include="..\Common\libzip\zip_entry.c" /> <ClCompile Include="..\Common\libzip\zip_error.c" /> @@ -150,7 +162,10 @@ copy Debug\VeraCryptSetup.exe "..\Debug\Setup Files\VeraCrypt Setup.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> + </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" /> @@ -199,7 +214,10 @@ copy Debug\VeraCryptSetup.exe "..\Debug\Setup Files\VeraCrypt Setup.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> + </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" /> |