extlz4 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +43 -3
- data/contrib/lz4/CODING_STYLE +57 -0
- data/contrib/lz4/LICENSE +3 -2
- data/contrib/lz4/Makefile.inc +56 -30
- data/contrib/lz4/NEWS +46 -0
- data/contrib/lz4/README.md +17 -6
- data/contrib/lz4/SECURITY.md +17 -0
- data/contrib/lz4/build/README.md +4 -15
- data/contrib/lz4/build/VS2022/_build.bat +39 -0
- data/contrib/lz4/build/VS2022/_setup.bat +35 -0
- data/contrib/lz4/build/VS2022/_test.bat +38 -0
- data/contrib/lz4/build/VS2022/build-and-test-win32-debug.bat +26 -0
- data/contrib/lz4/build/VS2022/build-and-test-win32-release.bat +26 -0
- data/contrib/lz4/build/VS2022/build-and-test-x64-debug.bat +26 -0
- data/contrib/lz4/build/VS2022/build-and-test-x64-release.bat +26 -0
- data/contrib/lz4/build/{VS2017 → VS2022}/datagen/datagen.vcxproj +11 -7
- data/contrib/lz4/build/{VS2017 → VS2022}/frametest/frametest.vcxproj +4 -4
- data/contrib/lz4/build/{VS2017 → VS2022}/fullbench/fullbench.vcxproj +4 -4
- data/contrib/lz4/build/{VS2017 → VS2022}/fullbench-dll/fullbench-dll.vcxproj +4 -4
- data/contrib/lz4/build/{VS2017 → VS2022}/fuzzer/fuzzer.vcxproj +4 -4
- data/contrib/lz4/build/{VS2017 → VS2022}/liblz4/liblz4.vcxproj +4 -4
- data/contrib/lz4/build/{VS2010 → VS2022}/liblz4-dll/liblz4-dll.rc +1 -1
- data/contrib/lz4/build/{VS2017 → VS2022}/liblz4-dll/liblz4-dll.vcxproj +4 -4
- data/contrib/lz4/build/{VS2010 → VS2022}/lz4/lz4.rc +1 -1
- data/contrib/lz4/build/{VS2017 → VS2022}/lz4/lz4.vcxproj +33 -8
- data/contrib/lz4/build/{VS2017 → VS2022}/lz4.sln +5 -2
- data/contrib/lz4/build/cmake/CMakeLists.txt +133 -100
- data/contrib/lz4/build/cmake/lz4Config.cmake.in +2 -0
- data/contrib/lz4/build/meson/GetLz4LibraryVersion.py +39 -0
- data/contrib/lz4/build/meson/README.md +34 -0
- data/contrib/lz4/build/meson/meson/contrib/gen_manual/meson.build +42 -0
- data/contrib/lz4/build/meson/meson/contrib/meson.build +11 -0
- data/contrib/lz4/build/meson/meson/examples/meson.build +32 -0
- data/contrib/lz4/build/meson/meson/lib/meson.build +87 -0
- data/contrib/lz4/build/meson/meson/meson.build +135 -0
- data/contrib/lz4/build/meson/meson/ossfuzz/meson.build +35 -0
- data/contrib/lz4/build/meson/meson/programs/meson.build +91 -0
- data/contrib/lz4/build/meson/meson/tests/meson.build +162 -0
- data/contrib/lz4/build/meson/meson.build +31 -0
- data/contrib/lz4/build/meson/meson_options.txt +44 -0
- data/contrib/lz4/build/visual/README.md +5 -0
- data/contrib/lz4/build/visual/generate_solution.cmd +55 -0
- data/contrib/lz4/build/visual/generate_vs2015.cmd +3 -0
- data/contrib/lz4/build/visual/generate_vs2017.cmd +3 -0
- data/contrib/lz4/build/visual/generate_vs2019.cmd +3 -0
- data/contrib/lz4/build/visual/generate_vs2022.cmd +3 -0
- data/contrib/lz4/lib/LICENSE +1 -1
- data/contrib/lz4/lib/README.md +69 -13
- data/contrib/lz4/lib/liblz4-dll.rc.in +1 -1
- data/contrib/lz4/lib/liblz4.pc.in +3 -3
- data/contrib/lz4/lib/lz4.c +608 -274
- data/contrib/lz4/lib/lz4.h +212 -102
- data/contrib/lz4/lib/lz4file.c +341 -0
- data/contrib/lz4/lib/lz4file.h +93 -0
- data/contrib/lz4/lib/lz4frame.c +545 -308
- data/contrib/lz4/lib/lz4frame.h +252 -124
- data/contrib/lz4/lib/lz4frame_static.h +1 -1
- data/contrib/lz4/lib/lz4hc.c +1038 -461
- data/contrib/lz4/lib/lz4hc.h +57 -56
- data/contrib/lz4/lib/xxhash.c +21 -21
- data/contrib/lz4/ossfuzz/Makefile +1 -0
- data/contrib/lz4/ossfuzz/decompress_fuzzer.c +18 -2
- data/contrib/lz4/ossfuzz/fuzz_helpers.h +4 -3
- data/contrib/lz4/ossfuzz/round_trip_frame_uncompressed_fuzzer.c +134 -0
- data/contrib/lz4/ossfuzz/round_trip_fuzzer.c +66 -6
- data/ext/blockapi.c +19 -19
- data/ext/extlz4.h +12 -0
- data/ext/frameapi.c +26 -26
- data/ext/hashargs.c +7 -1
- metadata +47 -30
- data/contrib/lz4/build/VS2010/datagen/datagen.vcxproj +0 -169
- data/contrib/lz4/build/VS2010/frametest/frametest.vcxproj +0 -176
- data/contrib/lz4/build/VS2010/fullbench/fullbench.vcxproj +0 -176
- data/contrib/lz4/build/VS2010/fullbench-dll/fullbench-dll.vcxproj +0 -180
- data/contrib/lz4/build/VS2010/fuzzer/fuzzer.vcxproj +0 -173
- data/contrib/lz4/build/VS2010/liblz4/liblz4.vcxproj +0 -175
- data/contrib/lz4/build/VS2010/liblz4-dll/liblz4-dll.vcxproj +0 -179
- data/contrib/lz4/build/VS2010/lz4/lz4.vcxproj +0 -189
- data/contrib/lz4/build/VS2010/lz4.sln +0 -98
- data/contrib/lz4/build/VS2017/liblz4-dll/liblz4-dll.rc +0 -51
- data/contrib/lz4/build/VS2017/lz4/lz4.rc +0 -51
- data/contrib/lz4/tmp +0 -0
- data/contrib/lz4/tmpsparse +0 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
@setlocal enabledelayedexpansion
|
2
|
+
@echo off
|
3
|
+
set /a errorno=1
|
4
|
+
for /F "delims=#" %%E in ('"prompt #$E# & for %%E in (1) do rem"') do set "esc=%%E"
|
5
|
+
|
6
|
+
call _setup.bat || goto :ERROR
|
7
|
+
|
8
|
+
set "Configuration=Debug"
|
9
|
+
set "Platform=x64"
|
10
|
+
|
11
|
+
call _build.bat || goto :ERROR
|
12
|
+
call _test.bat || goto :ERROR
|
13
|
+
|
14
|
+
|
15
|
+
echo Build Status -%esc%[92m SUCCEEDED %esc%[0m
|
16
|
+
set /a errorno=0
|
17
|
+
goto :END
|
18
|
+
|
19
|
+
|
20
|
+
:ERROR
|
21
|
+
echo Abort by error.
|
22
|
+
echo Build Status -%esc%[91m ERROR %esc%[0m
|
23
|
+
|
24
|
+
|
25
|
+
:END
|
26
|
+
exit /B %errorno%
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@setlocal enabledelayedexpansion
|
2
|
+
@echo off
|
3
|
+
set /a errorno=1
|
4
|
+
for /F "delims=#" %%E in ('"prompt #$E# & for %%E in (1) do rem"') do set "esc=%%E"
|
5
|
+
|
6
|
+
call _setup.bat || goto :ERROR
|
7
|
+
|
8
|
+
set "Configuration=Release"
|
9
|
+
set "Platform=x64"
|
10
|
+
|
11
|
+
call _build.bat || goto :ERROR
|
12
|
+
call _test.bat || goto :ERROR
|
13
|
+
|
14
|
+
|
15
|
+
echo Build Status -%esc%[92m SUCCEEDED %esc%[0m
|
16
|
+
set /a errorno=0
|
17
|
+
goto :END
|
18
|
+
|
19
|
+
|
20
|
+
:ERROR
|
21
|
+
echo Abort by error.
|
22
|
+
echo Build Status -%esc%[91m ERROR %esc%[0m
|
23
|
+
|
24
|
+
|
25
|
+
:END
|
26
|
+
exit /B %errorno%
|
@@ -30,27 +30,27 @@
|
|
30
30
|
<ConfigurationType>Application</ConfigurationType>
|
31
31
|
<UseDebugLibraries>true</UseDebugLibraries>
|
32
32
|
<CharacterSet>Unicode</CharacterSet>
|
33
|
-
<PlatformToolset>
|
33
|
+
<PlatformToolset>v143</PlatformToolset>
|
34
34
|
</PropertyGroup>
|
35
35
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
36
36
|
<ConfigurationType>Application</ConfigurationType>
|
37
37
|
<UseDebugLibraries>true</UseDebugLibraries>
|
38
38
|
<CharacterSet>Unicode</CharacterSet>
|
39
|
-
<PlatformToolset>
|
39
|
+
<PlatformToolset>v143</PlatformToolset>
|
40
40
|
</PropertyGroup>
|
41
41
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
42
42
|
<ConfigurationType>Application</ConfigurationType>
|
43
43
|
<UseDebugLibraries>false</UseDebugLibraries>
|
44
44
|
<CharacterSet>Unicode</CharacterSet>
|
45
45
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
46
|
-
<PlatformToolset>
|
46
|
+
<PlatformToolset>v143</PlatformToolset>
|
47
47
|
</PropertyGroup>
|
48
48
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
49
49
|
<ConfigurationType>Application</ConfigurationType>
|
50
50
|
<UseDebugLibraries>false</UseDebugLibraries>
|
51
51
|
<CharacterSet>Unicode</CharacterSet>
|
52
52
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
53
|
-
<PlatformToolset>
|
53
|
+
<PlatformToolset>v143</PlatformToolset>
|
54
54
|
</PropertyGroup>
|
55
55
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
56
56
|
<ImportGroup Label="ExtensionSettings">
|
@@ -161,13 +161,17 @@
|
|
161
161
|
</Link>
|
162
162
|
</ItemDefinitionGroup>
|
163
163
|
<ItemGroup>
|
164
|
-
<ClCompile Include="..\..\..\programs\
|
164
|
+
<ClCompile Include="..\..\..\programs\lorem.c" />
|
165
|
+
<ClCompile Include="..\..\..\tests\datagen.c" />
|
165
166
|
<ClCompile Include="..\..\..\tests\datagencli.c" />
|
167
|
+
<ClCompile Include="..\..\..\tests\loremOut.c" />
|
166
168
|
</ItemGroup>
|
167
169
|
<ItemGroup>
|
168
|
-
<ClInclude Include="..\..\..\programs\
|
170
|
+
<ClInclude Include="..\..\..\programs\lorem.h" />
|
171
|
+
<ClInclude Include="..\..\..\tests\datagen.h" />
|
172
|
+
<ClInclude Include="..\..\..\tests\loremOut.h" />
|
169
173
|
</ItemGroup>
|
170
174
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
171
175
|
<ImportGroup Label="ExtensionTargets">
|
172
176
|
</ImportGroup>
|
173
|
-
</Project>
|
177
|
+
</Project>
|
@@ -30,27 +30,27 @@
|
|
30
30
|
<ConfigurationType>Application</ConfigurationType>
|
31
31
|
<UseDebugLibraries>true</UseDebugLibraries>
|
32
32
|
<CharacterSet>Unicode</CharacterSet>
|
33
|
-
<PlatformToolset>
|
33
|
+
<PlatformToolset>v143</PlatformToolset>
|
34
34
|
</PropertyGroup>
|
35
35
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
36
36
|
<ConfigurationType>Application</ConfigurationType>
|
37
37
|
<UseDebugLibraries>true</UseDebugLibraries>
|
38
38
|
<CharacterSet>Unicode</CharacterSet>
|
39
|
-
<PlatformToolset>
|
39
|
+
<PlatformToolset>v143</PlatformToolset>
|
40
40
|
</PropertyGroup>
|
41
41
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
42
42
|
<ConfigurationType>Application</ConfigurationType>
|
43
43
|
<UseDebugLibraries>false</UseDebugLibraries>
|
44
44
|
<CharacterSet>Unicode</CharacterSet>
|
45
45
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
46
|
-
<PlatformToolset>
|
46
|
+
<PlatformToolset>v143</PlatformToolset>
|
47
47
|
</PropertyGroup>
|
48
48
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
49
49
|
<ConfigurationType>Application</ConfigurationType>
|
50
50
|
<UseDebugLibraries>false</UseDebugLibraries>
|
51
51
|
<CharacterSet>Unicode</CharacterSet>
|
52
52
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
53
|
-
<PlatformToolset>
|
53
|
+
<PlatformToolset>v143</PlatformToolset>
|
54
54
|
</PropertyGroup>
|
55
55
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
56
56
|
<ImportGroup Label="ExtensionSettings">
|
@@ -30,27 +30,27 @@
|
|
30
30
|
<ConfigurationType>Application</ConfigurationType>
|
31
31
|
<UseDebugLibraries>true</UseDebugLibraries>
|
32
32
|
<CharacterSet>Unicode</CharacterSet>
|
33
|
-
<PlatformToolset>
|
33
|
+
<PlatformToolset>v143</PlatformToolset>
|
34
34
|
</PropertyGroup>
|
35
35
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
36
36
|
<ConfigurationType>Application</ConfigurationType>
|
37
37
|
<UseDebugLibraries>true</UseDebugLibraries>
|
38
38
|
<CharacterSet>Unicode</CharacterSet>
|
39
|
-
<PlatformToolset>
|
39
|
+
<PlatformToolset>v143</PlatformToolset>
|
40
40
|
</PropertyGroup>
|
41
41
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
42
42
|
<ConfigurationType>Application</ConfigurationType>
|
43
43
|
<UseDebugLibraries>false</UseDebugLibraries>
|
44
44
|
<CharacterSet>Unicode</CharacterSet>
|
45
45
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
46
|
-
<PlatformToolset>
|
46
|
+
<PlatformToolset>v143</PlatformToolset>
|
47
47
|
</PropertyGroup>
|
48
48
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
49
49
|
<ConfigurationType>Application</ConfigurationType>
|
50
50
|
<UseDebugLibraries>false</UseDebugLibraries>
|
51
51
|
<CharacterSet>Unicode</CharacterSet>
|
52
52
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
53
|
-
<PlatformToolset>
|
53
|
+
<PlatformToolset>v143</PlatformToolset>
|
54
54
|
</PropertyGroup>
|
55
55
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
56
56
|
<ImportGroup Label="ExtensionSettings">
|
@@ -30,27 +30,27 @@
|
|
30
30
|
<ConfigurationType>Application</ConfigurationType>
|
31
31
|
<UseDebugLibraries>true</UseDebugLibraries>
|
32
32
|
<CharacterSet>Unicode</CharacterSet>
|
33
|
-
<PlatformToolset>
|
33
|
+
<PlatformToolset>v143</PlatformToolset>
|
34
34
|
</PropertyGroup>
|
35
35
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
36
36
|
<ConfigurationType>Application</ConfigurationType>
|
37
37
|
<UseDebugLibraries>true</UseDebugLibraries>
|
38
38
|
<CharacterSet>Unicode</CharacterSet>
|
39
|
-
<PlatformToolset>
|
39
|
+
<PlatformToolset>v143</PlatformToolset>
|
40
40
|
</PropertyGroup>
|
41
41
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
42
42
|
<ConfigurationType>Application</ConfigurationType>
|
43
43
|
<UseDebugLibraries>false</UseDebugLibraries>
|
44
44
|
<CharacterSet>Unicode</CharacterSet>
|
45
45
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
46
|
-
<PlatformToolset>
|
46
|
+
<PlatformToolset>v143</PlatformToolset>
|
47
47
|
</PropertyGroup>
|
48
48
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
49
49
|
<ConfigurationType>Application</ConfigurationType>
|
50
50
|
<UseDebugLibraries>false</UseDebugLibraries>
|
51
51
|
<CharacterSet>Unicode</CharacterSet>
|
52
52
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
53
|
-
<PlatformToolset>
|
53
|
+
<PlatformToolset>v143</PlatformToolset>
|
54
54
|
</PropertyGroup>
|
55
55
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
56
56
|
<ImportGroup Label="ExtensionSettings">
|
@@ -30,27 +30,27 @@
|
|
30
30
|
<ConfigurationType>Application</ConfigurationType>
|
31
31
|
<UseDebugLibraries>true</UseDebugLibraries>
|
32
32
|
<CharacterSet>Unicode</CharacterSet>
|
33
|
-
<PlatformToolset>
|
33
|
+
<PlatformToolset>v143</PlatformToolset>
|
34
34
|
</PropertyGroup>
|
35
35
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
36
36
|
<ConfigurationType>Application</ConfigurationType>
|
37
37
|
<UseDebugLibraries>true</UseDebugLibraries>
|
38
38
|
<CharacterSet>Unicode</CharacterSet>
|
39
|
-
<PlatformToolset>
|
39
|
+
<PlatformToolset>v143</PlatformToolset>
|
40
40
|
</PropertyGroup>
|
41
41
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
42
42
|
<ConfigurationType>Application</ConfigurationType>
|
43
43
|
<UseDebugLibraries>false</UseDebugLibraries>
|
44
44
|
<CharacterSet>Unicode</CharacterSet>
|
45
45
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
46
|
-
<PlatformToolset>
|
46
|
+
<PlatformToolset>v143</PlatformToolset>
|
47
47
|
</PropertyGroup>
|
48
48
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
49
49
|
<ConfigurationType>Application</ConfigurationType>
|
50
50
|
<UseDebugLibraries>false</UseDebugLibraries>
|
51
51
|
<CharacterSet>Unicode</CharacterSet>
|
52
52
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
53
|
-
<PlatformToolset>
|
53
|
+
<PlatformToolset>v143</PlatformToolset>
|
54
54
|
</PropertyGroup>
|
55
55
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
56
56
|
<ImportGroup Label="ExtensionSettings">
|
@@ -30,27 +30,27 @@
|
|
30
30
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
31
31
|
<UseDebugLibraries>true</UseDebugLibraries>
|
32
32
|
<CharacterSet>Unicode</CharacterSet>
|
33
|
-
<PlatformToolset>
|
33
|
+
<PlatformToolset>v143</PlatformToolset>
|
34
34
|
</PropertyGroup>
|
35
35
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
36
36
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
37
37
|
<UseDebugLibraries>true</UseDebugLibraries>
|
38
38
|
<CharacterSet>Unicode</CharacterSet>
|
39
|
-
<PlatformToolset>
|
39
|
+
<PlatformToolset>v143</PlatformToolset>
|
40
40
|
</PropertyGroup>
|
41
41
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
42
42
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
43
43
|
<UseDebugLibraries>false</UseDebugLibraries>
|
44
44
|
<CharacterSet>Unicode</CharacterSet>
|
45
45
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
46
|
-
<PlatformToolset>
|
46
|
+
<PlatformToolset>v143</PlatformToolset>
|
47
47
|
</PropertyGroup>
|
48
48
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
49
49
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
50
50
|
<UseDebugLibraries>false</UseDebugLibraries>
|
51
51
|
<CharacterSet>Unicode</CharacterSet>
|
52
52
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
53
|
-
<PlatformToolset>
|
53
|
+
<PlatformToolset>v143</PlatformToolset>
|
54
54
|
</PropertyGroup>
|
55
55
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
56
56
|
<ImportGroup Label="ExtensionSettings">
|
@@ -36,7 +36,7 @@ BEGIN
|
|
36
36
|
VALUE "FileDescription", "Extremely fast compression"
|
37
37
|
VALUE "FileVersion", LZ4_VERSION_STRING
|
38
38
|
VALUE "InternalName", "lz4.dll"
|
39
|
-
VALUE "LegalCopyright", "Copyright (C) 2013-
|
39
|
+
VALUE "LegalCopyright", "Copyright (C) 2013-2020, Yann Collet"
|
40
40
|
VALUE "OriginalFilename", "lz4.dll"
|
41
41
|
VALUE "ProductName", "LZ4"
|
42
42
|
VALUE "ProductVersion", LZ4_VERSION_STRING
|
@@ -31,27 +31,27 @@
|
|
31
31
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
32
32
|
<UseDebugLibraries>true</UseDebugLibraries>
|
33
33
|
<CharacterSet>Unicode</CharacterSet>
|
34
|
-
<PlatformToolset>
|
34
|
+
<PlatformToolset>v143</PlatformToolset>
|
35
35
|
</PropertyGroup>
|
36
36
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
37
37
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
38
38
|
<UseDebugLibraries>true</UseDebugLibraries>
|
39
39
|
<CharacterSet>Unicode</CharacterSet>
|
40
|
-
<PlatformToolset>
|
40
|
+
<PlatformToolset>v143</PlatformToolset>
|
41
41
|
</PropertyGroup>
|
42
42
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
43
43
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
44
44
|
<UseDebugLibraries>false</UseDebugLibraries>
|
45
45
|
<CharacterSet>Unicode</CharacterSet>
|
46
46
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
47
|
-
<PlatformToolset>
|
47
|
+
<PlatformToolset>v143</PlatformToolset>
|
48
48
|
</PropertyGroup>
|
49
49
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
50
50
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
51
51
|
<UseDebugLibraries>false</UseDebugLibraries>
|
52
52
|
<CharacterSet>Unicode</CharacterSet>
|
53
53
|
<WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
|
54
|
-
<PlatformToolset>
|
54
|
+
<PlatformToolset>v143</PlatformToolset>
|
55
55
|
</PropertyGroup>
|
56
56
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
57
57
|
<ImportGroup Label="ExtensionSettings">
|
@@ -36,7 +36,7 @@ BEGIN
|
|
36
36
|
VALUE "FileDescription", "Extremely fast compression"
|
37
37
|
VALUE "FileVersion", LZ4_VERSION_STRING
|
38
38
|
VALUE "InternalName", "lz4.exe"
|
39
|
-
VALUE "LegalCopyright", "Copyright (C) 2013-
|
39
|
+
VALUE "LegalCopyright", "Copyright (C) 2013-2020, Yann Collet"
|
40
40
|
VALUE "OriginalFilename", "lz4.exe"
|
41
41
|
VALUE "ProductName", "LZ4"
|
42
42
|
VALUE "ProductVersion", LZ4_VERSION_STRING
|
@@ -22,32 +22,32 @@
|
|
22
22
|
<VCProjectVersion>15.0</VCProjectVersion>
|
23
23
|
<ProjectGuid>{60A3115E-B988-41EE-8815-F4D4F253D866}</ProjectGuid>
|
24
24
|
<RootNamespace>lz4</RootNamespace>
|
25
|
-
<WindowsTargetPlatformVersion>
|
25
|
+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
26
26
|
</PropertyGroup>
|
27
27
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
28
28
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
29
29
|
<ConfigurationType>Application</ConfigurationType>
|
30
30
|
<UseDebugLibraries>true</UseDebugLibraries>
|
31
|
-
<PlatformToolset>
|
31
|
+
<PlatformToolset>v143</PlatformToolset>
|
32
32
|
<CharacterSet>Unicode</CharacterSet>
|
33
33
|
</PropertyGroup>
|
34
34
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
35
35
|
<ConfigurationType>Application</ConfigurationType>
|
36
36
|
<UseDebugLibraries>false</UseDebugLibraries>
|
37
|
-
<PlatformToolset>
|
37
|
+
<PlatformToolset>v143</PlatformToolset>
|
38
38
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
39
39
|
<CharacterSet>Unicode</CharacterSet>
|
40
40
|
</PropertyGroup>
|
41
41
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
42
42
|
<ConfigurationType>Application</ConfigurationType>
|
43
43
|
<UseDebugLibraries>true</UseDebugLibraries>
|
44
|
-
<PlatformToolset>
|
44
|
+
<PlatformToolset>v143</PlatformToolset>
|
45
45
|
<CharacterSet>MultiByte</CharacterSet>
|
46
46
|
</PropertyGroup>
|
47
47
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
48
48
|
<ConfigurationType>Application</ConfigurationType>
|
49
49
|
<UseDebugLibraries>false</UseDebugLibraries>
|
50
|
-
<PlatformToolset>
|
50
|
+
<PlatformToolset>v143</PlatformToolset>
|
51
51
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
52
52
|
<CharacterSet>MultiByte</CharacterSet>
|
53
53
|
</PropertyGroup>
|
@@ -80,6 +80,17 @@
|
|
80
80
|
<IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
|
81
81
|
<LinkIncremental>false</LinkIncremental>
|
82
82
|
</PropertyGroup>
|
83
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
84
|
+
<OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
|
85
|
+
<IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
|
86
|
+
<IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
|
87
|
+
</PropertyGroup>
|
88
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
89
|
+
<OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
|
90
|
+
<IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
|
91
|
+
<IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
|
92
|
+
<LinkIncremental>false</LinkIncremental>
|
93
|
+
</PropertyGroup>
|
83
94
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
84
95
|
<ClCompile>
|
85
96
|
<WarningLevel>Level4</WarningLevel>
|
@@ -94,6 +105,8 @@
|
|
94
105
|
<SubSystem>Console</SubSystem>
|
95
106
|
<OptimizeReferences>false</OptimizeReferences>
|
96
107
|
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
108
|
+
<AdditionalLibraryDirectories>$(ProjectDir)..\bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
109
|
+
<AdditionalDependencies>liblz4_static.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
97
110
|
</Link>
|
98
111
|
</ItemDefinitionGroup>
|
99
112
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
@@ -103,6 +116,10 @@
|
|
103
116
|
<SDLCheck>true</SDLCheck>
|
104
117
|
<ConformanceMode>true</ConformanceMode>
|
105
118
|
</ClCompile>
|
119
|
+
<Link>
|
120
|
+
<AdditionalLibraryDirectories>$(ProjectDir)..\bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
121
|
+
<AdditionalDependencies>liblz4_static.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
122
|
+
</Link>
|
106
123
|
</ItemDefinitionGroup>
|
107
124
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
108
125
|
<ClCompile>
|
@@ -119,6 +136,8 @@
|
|
119
136
|
<OptimizeReferences>true</OptimizeReferences>
|
120
137
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
121
138
|
<SubSystem>Console</SubSystem>
|
139
|
+
<AdditionalLibraryDirectories>$(ProjectDir)..\bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
140
|
+
<AdditionalDependencies>liblz4_static.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
122
141
|
</Link>
|
123
142
|
</ItemDefinitionGroup>
|
124
143
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
@@ -133,6 +152,8 @@
|
|
133
152
|
<Link>
|
134
153
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
135
154
|
<OptimizeReferences>true</OptimizeReferences>
|
155
|
+
<AdditionalLibraryDirectories>$(ProjectDir)..\bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
156
|
+
<AdditionalDependencies>liblz4_static.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
136
157
|
</Link>
|
137
158
|
</ItemDefinitionGroup>
|
138
159
|
<ItemGroup>
|
@@ -141,9 +162,12 @@
|
|
141
162
|
<ClCompile Include="..\..\..\lib\lz4hc.c" />
|
142
163
|
<ClCompile Include="..\..\..\lib\xxhash.c" />
|
143
164
|
<ClCompile Include="..\..\..\programs\bench.c" />
|
144
|
-
<ClCompile Include="..\..\..\programs\
|
165
|
+
<ClCompile Include="..\..\..\programs\lorem.c" />
|
145
166
|
<ClCompile Include="..\..\..\programs\lz4cli.c" />
|
146
167
|
<ClCompile Include="..\..\..\programs\lz4io.c" />
|
168
|
+
<ClCompile Include="..\..\..\programs\threadpool.c" />
|
169
|
+
<ClCompile Include="..\..\..\programs\timefn.c" />
|
170
|
+
<ClCompile Include="..\..\..\programs\util.c" />
|
147
171
|
</ItemGroup>
|
148
172
|
<ItemGroup>
|
149
173
|
<ClInclude Include="..\..\..\lib\lz4.h" />
|
@@ -152,8 +176,9 @@
|
|
152
176
|
<ClInclude Include="..\..\..\lib\lz4hc.h" />
|
153
177
|
<ClInclude Include="..\..\..\lib\xxhash.h" />
|
154
178
|
<ClInclude Include="..\..\..\programs\bench.h" />
|
155
|
-
<ClInclude Include="..\..\..\programs\
|
179
|
+
<ClInclude Include="..\..\..\programs\lorem.h" />
|
156
180
|
<ClInclude Include="..\..\..\programs\lz4io.h" />
|
181
|
+
<ClInclude Include="..\..\..\programs\util.h" />
|
157
182
|
</ItemGroup>
|
158
183
|
<ItemGroup>
|
159
184
|
<ResourceCompile Include="lz4.rc" />
|
@@ -161,4 +186,4 @@
|
|
161
186
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
162
187
|
<ImportGroup Label="ExtensionTargets">
|
163
188
|
</ImportGroup>
|
164
|
-
</Project>
|
189
|
+
</Project>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
2
|
-
# Visual Studio
|
3
|
-
VisualStudioVersion =
|
2
|
+
# Visual Studio Version 17
|
3
|
+
VisualStudioVersion = 17.6.33712.159
|
4
4
|
MinimumVisualStudioVersion = 10.0.40219.1
|
5
5
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblz4-dll", "liblz4-dll\liblz4-dll.vcxproj", "{9800039D-4AAA-43A4-BB78-FEF6F4836927}"
|
6
6
|
EndProject
|
@@ -20,6 +20,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench-dll", "fullbench-
|
|
20
20
|
EndProjectSection
|
21
21
|
EndProject
|
22
22
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lz4", "lz4\lz4.vcxproj", "{60A3115E-B988-41EE-8815-F4D4F253D866}"
|
23
|
+
ProjectSection(ProjectDependencies) = postProject
|
24
|
+
{9092C5CC-3E71-41B3-BF68-4A7BDD8A5476} = {9092C5CC-3E71-41B3-BF68-4A7BDD8A5476}
|
25
|
+
EndProjectSection
|
23
26
|
EndProject
|
24
27
|
Global
|
25
28
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|