Skip to content

Commit

Permalink
Fix compilation issue for NanaZip.Codecs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Apr 13, 2024
1 parent ef1988c commit 2b5fb98
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
21 changes: 16 additions & 5 deletions NanaZip.Codecs/NanaZip.Codecs.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,15 @@
<ClCompile Include="BLAKE3\blake3.c">
<DisableSpecificWarnings>4244;</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="BLAKE3\blake3_avx2.c" />
<ClCompile Include="BLAKE3\blake3_avx512.c" />
<None Include="BLAKE3\blake3_avx2.c" />
<None Include="BLAKE3\blake3_avx512.c" />
<ClCompile Include="BLAKE3\blake3_dispatch.c">
<DisableSpecificWarnings>4702;</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="BLAKE3\blake3_neon.c" />
<None Include="BLAKE3\blake3_neon.c" />
<ClCompile Include="BLAKE3\blake3_portable.c" />
<ClCompile Include="BLAKE3\blake3_sse2.c" />
<ClCompile Include="BLAKE3\blake3_sse41.c" />
<None Include="BLAKE3\blake3_sse2.c" />
<None Include="BLAKE3\blake3_sse41.c" />
<ClCompile Include="NanaZip.Codecs.cpp" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -431,4 +431,15 @@
<ClInclude Include="BLAKE3\blake3_impl.h" />
</ItemGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.targets" />
<Target Name="NanaZipCodecsBlake3BuildCSource" BeforeTargets="BeforeClCompile">
<ItemGroup Condition="('$(Platform)'=='Win32') Or ('$(Platform)'=='x64')">
<ClCompile Include="BLAKE3\blake3_avx2.c" />
<ClCompile Include="BLAKE3\blake3_avx512.c" />
<ClCompile Include="BLAKE3\blake3_sse2.c" />
<ClCompile Include="BLAKE3\blake3_sse41.c" />
</ItemGroup>
<ItemGroup Condition="('$(Platform)'!='Win32') And ('$(Platform)'!='x64')">
<ClCompile Include="BLAKE3\blake3_neon.c" />
</ItemGroup>
</Target>
</Project>
20 changes: 10 additions & 10 deletions NanaZip.Codecs/NanaZip.Codecs.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@
<ClCompile Include="BLAKE3\blake3.c">
<Filter>BLAKE3</Filter>
</ClCompile>
<ClCompile Include="BLAKE3\blake3_avx2.c">
<None Include="BLAKE3\blake3_avx2.c">
<Filter>BLAKE3</Filter>
</ClCompile>
<ClCompile Include="BLAKE3\blake3_avx512.c">
</None>
<None Include="BLAKE3\blake3_avx512.c">
<Filter>BLAKE3</Filter>
</ClCompile>
</None>
<ClCompile Include="BLAKE3\blake3_dispatch.c">
<Filter>BLAKE3</Filter>
</ClCompile>
<ClCompile Include="BLAKE3\blake3_neon.c">
<None Include="BLAKE3\blake3_neon.c">
<Filter>BLAKE3</Filter>
</ClCompile>
</None>
<ClCompile Include="BLAKE3\blake3_portable.c">
<Filter>BLAKE3</Filter>
</ClCompile>
<ClCompile Include="BLAKE3\blake3_sse2.c">
<None Include="BLAKE3\blake3_sse2.c">
<Filter>BLAKE3</Filter>
</ClCompile>
<ClCompile Include="BLAKE3\blake3_sse41.c">
</None>
<None Include="BLAKE3\blake3_sse41.c">
<Filter>BLAKE3</Filter>
</ClCompile>
</None>
<ClCompile Include="GmSSL\sm3.c">
<Filter>GmSSL</Filter>
</ClCompile>
Expand Down

0 comments on commit 2b5fb98

Please sign in to comment.