extlz4 0.3.3 → 0.3.4

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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/Rakefile +22 -0
  4. data/contrib/lz4/LICENSE +2 -1
  5. data/contrib/lz4/Makefile.inc +39 -15
  6. data/contrib/lz4/NEWS +21 -0
  7. data/contrib/lz4/README.md +1 -1
  8. data/contrib/lz4/build/VS2010/liblz4-dll/liblz4-dll.rc +1 -1
  9. data/contrib/lz4/build/VS2010/lz4/lz4.rc +1 -1
  10. data/contrib/lz4/build/VS2017/liblz4-dll/liblz4-dll.rc +1 -1
  11. data/contrib/lz4/build/VS2017/lz4/lz4.rc +1 -1
  12. data/contrib/lz4/build/VS2017/lz4/lz4.vcxproj +12 -1
  13. data/contrib/lz4/build/VS2022/datagen/datagen.vcxproj +173 -0
  14. data/contrib/lz4/build/VS2022/frametest/frametest.vcxproj +180 -0
  15. data/contrib/lz4/build/VS2022/fullbench/fullbench.vcxproj +180 -0
  16. data/contrib/lz4/build/VS2022/fullbench-dll/fullbench-dll.vcxproj +184 -0
  17. data/contrib/lz4/build/VS2022/fuzzer/fuzzer.vcxproj +177 -0
  18. data/contrib/lz4/build/VS2022/liblz4/liblz4.vcxproj +179 -0
  19. data/contrib/lz4/build/VS2022/liblz4-dll/liblz4-dll.rc +51 -0
  20. data/contrib/lz4/build/VS2022/liblz4-dll/liblz4-dll.vcxproj +183 -0
  21. data/contrib/lz4/build/VS2022/lz4.sln +103 -0
  22. data/contrib/lz4/build/cmake/CMakeLists.txt +49 -11
  23. data/contrib/lz4/build/cmake/lz4Config.cmake.in +2 -0
  24. data/contrib/lz4/lib/LICENSE +1 -1
  25. data/contrib/lz4/lib/README.md +45 -13
  26. data/contrib/lz4/lib/liblz4-dll.rc.in +1 -1
  27. data/contrib/lz4/lib/liblz4.pc.in +3 -3
  28. data/contrib/lz4/lib/lz4.c +422 -195
  29. data/contrib/lz4/lib/lz4.h +114 -46
  30. data/contrib/lz4/lib/lz4file.c +311 -0
  31. data/contrib/lz4/lib/lz4file.h +93 -0
  32. data/contrib/lz4/lib/lz4frame.c +421 -242
  33. data/contrib/lz4/lib/lz4frame.h +122 -53
  34. data/contrib/lz4/lib/lz4frame_static.h +1 -1
  35. data/contrib/lz4/lib/lz4hc.c +127 -111
  36. data/contrib/lz4/lib/lz4hc.h +14 -14
  37. data/contrib/lz4/ossfuzz/Makefile +1 -0
  38. data/contrib/lz4/ossfuzz/decompress_fuzzer.c +18 -2
  39. data/contrib/lz4/ossfuzz/fuzz_helpers.h +3 -2
  40. data/contrib/lz4/ossfuzz/round_trip_frame_uncompressed_fuzzer.c +134 -0
  41. data/contrib/lz4/ossfuzz/round_trip_fuzzer.c +66 -6
  42. data/ext/blockapi.c +8 -8
  43. data/ext/extlz4.h +12 -0
  44. data/ext/frameapi.c +3 -3
  45. data/ext/hashargs.c +7 -1
  46. metadata +16 -5
  47. data/contrib/lz4/tmp +0 -0
  48. data/contrib/lz4/tmpsparse +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 826b3cefef1cfe6adf9a63fe90eaf61d93d33a2889727eff519fe6dc58a1c76e
4
- data.tar.gz: 9973dfeb967f847eace7c50e47e546e2148ae1e54ea9677285ec42a556f0012f
3
+ metadata.gz: 960dfd2d3d26080ed4115e4e5131c510a28f4415054deead1dc4f7563163d43e
4
+ data.tar.gz: c421de615b4ad2c71e4e4645f0ca94f3426aadc354350a0365ddd6912c472d10
5
5
  SHA512:
6
- metadata.gz: '058521efb2e6a1940702f6ba4121e936f8fce02e6073f58ce32610330202e5afa9c0d427e6cabd9fa2be28434231b2bf2f1ab2c75a464ea2aea7067bae343493'
7
- data.tar.gz: e3242ed13ea347b8a992fdb865640ba83b4a3accb1925bb4f1ec05caa59898e3a6113acb75d115bd9ecc2c1f3e36b94e279fdeb61bcc7189f9104672a8250157
6
+ metadata.gz: 70cde50167bc57e50a63148b9beb3e662007b5d50bfd902108d0de8cd28214a05620b3df7c52e71d01fc3ea73250b78103b93cc625dd9d7a62c3a042f63f85ad
7
+ data.tar.gz: df0df6e229d8ee0a5f1f1f4b229fc7558385ea0a8453dc242558946bb7c29ab8e1c84dbf46d745f07afa627456dd5d872e29287c3c63801ead1325088bd28fce
data/README.md CHANGED
@@ -189,7 +189,7 @@ Ruby3 で追加された `Ractor` に対応しています。
189
189
  - author: dearblue (mailto:dearblue@users.osdn.me)
190
190
  - project page: <https://github.com/dearblue/ruby-extlz4>
191
191
  - how to install: `gem install extlz4`
192
- - version: 0.3.3
192
+ - version: 0.3.4
193
193
  - product quality: technical preview
194
194
  - licensing: [2 clause BSD License](LICENSE)
195
195
  - dependency gems: none
data/Rakefile CHANGED
@@ -35,6 +35,7 @@ GEMSTUB.executables.sort!
35
35
  PACKAGENAME = "#{GEMSTUB.name}-#{GEMSTUB.version}"
36
36
  GEMFILE = "#{PACKAGENAME}.gem"
37
37
  GEMSPEC = "#{PACKAGENAME}.gemspec"
38
+ BUNDLER_GEMFILE = "Gemfile"
38
39
 
39
40
  GEMSTUB.files += DOC + EXT + EXTCONF + BIN + LIB + SPEC + TEST + EXAMPLE + RAKEFILE + EXTRA
40
41
  GEMSTUB.files.sort!
@@ -194,6 +195,9 @@ task "package-name" do
194
195
  puts PACKAGENAME
195
196
  end
196
197
 
198
+ desc "generate Gemfile for bundler"
199
+ task "gemfile" => BUNDLER_GEMFILE
200
+
197
201
  file GEMFILE => DOC + EXT + EXTCONF + BIN + LIB + SPEC + TEST + EXAMPLE + RAKEFILE + [GEMSPEC] do
198
202
  sh "gem build #{GEMSPEC}"
199
203
  end
@@ -210,3 +214,21 @@ end
210
214
  file GEMSPEC_TRYOUT => RAKEFILE do
211
215
  File.write(GEMSPEC_TRYOUT, GEMSTUB_TRYOUT.to_ruby, mode: "wb")
212
216
  end
217
+
218
+ file BUNDLER_GEMFILE => RAKEFILE do
219
+ File.write(BUNDLER_GEMFILE, <<~GemfileSource, mode: "wb")
220
+ source "https://rubygems.org/"
221
+
222
+ group "default" do
223
+ #{GEMSTUB.runtime_dependencies.map { |e|
224
+ %( gem #{e.name.inspect}, #{e.requirements_list.map { |ee| ee.inspect }.join(", ")})
225
+ }.join("\n")}
226
+ end
227
+
228
+ group "development", "test" do
229
+ #{GEMSTUB.development_dependencies.map { |e|
230
+ %( gem #{e.name.inspect}, #{e.requirements_list.map { |ee| ee.inspect }.join(", ")})
231
+ }.join("\n")}
232
+ end
233
+ GemfileSource
234
+ end
data/contrib/lz4/LICENSE CHANGED
@@ -8,4 +8,5 @@ and with presence of COPYING or LICENSE file in associated directories.
8
8
  This model is selected to emphasize that
9
9
  files in the `lib` directory are designed to be included into 3rd party applications,
10
10
  while all other files, in `programs`, `tests` or `examples`,
11
- receive more limited attention and support for such scenario.
11
+ are intended to be used "as is", as part of their intended scenarios,
12
+ with no intention to support 3rd party integration use cases.
@@ -1,10 +1,38 @@
1
- ifeq ($(V), 1)
2
- Q =
3
- else
4
- Q = @
5
- endif
1
+ # ################################################################
2
+ # LZ4 - Makefile common definitions
3
+ # Copyright (C) Yann Collet 2020
4
+ # All rights reserved.
5
+ #
6
+ # BSD license
7
+ # Redistribution and use in source and binary forms, with or without modification,
8
+ # are permitted provided that the following conditions are met:
9
+ #
10
+ # * Redistributions of source code must retain the above copyright notice, this
11
+ # list of conditions and the following disclaimer.
12
+ #
13
+ # * Redistributions in binary form must reproduce the above copyright notice, this
14
+ # list of conditions and the following disclaimer in the documentation and/or
15
+ # other materials provided with the distribution.
16
+ #
17
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
21
+ # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22
+ # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23
+ # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
24
+ # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
+ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
+ #
28
+ # You can contact the author at :
29
+ # - LZ4 source repository : https://github.com/lz4/lz4
30
+ # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
31
+ # ################################################################
32
+
33
+ UNAME ?= uname
6
34
 
7
- TARGET_OS ?= $(shell uname)
35
+ TARGET_OS ?= $(shell $(UNAME))
8
36
  ifeq ($(TARGET_OS),)
9
37
  TARGET_OS ?= $(OS)
10
38
  endif
@@ -41,7 +69,7 @@ WINDRES = windres
41
69
  endif
42
70
 
43
71
  #determine if dev/nul based on host environment
44
- ifneq (,$(filter MINGW% MSYS% CYGWIN%,$(shell uname)))
72
+ ifneq (,$(filter MINGW% MSYS% CYGWIN%,$(shell $(UNAME))))
45
73
  VOID := /dev/null
46
74
  else
47
75
  ifneq (,$(filter Windows%,$(OS)))
@@ -51,32 +79,28 @@ VOID := /dev/null
51
79
  endif
52
80
  endif
53
81
 
54
- ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD MINGW% CYGWIN% MSYS%,$(shell uname)))
82
+ ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD MINGW% CYGWIN% MSYS%,$(shell $(UNAME))))
55
83
  POSIX_ENV = Yes
56
84
  else
57
85
  POSIX_ENV = No
58
86
  endif
59
87
 
60
- # Avoid symlinks when targetting Windows or building on a Windows host
88
+ # Avoid symlinks when targeting Windows or building on a Windows host
61
89
  ifeq ($(WINBASED),yes)
62
- LN_S = cp -p
63
90
  LN_SF = cp -p
64
91
  else
65
- ifneq (,$(filter MINGW% MSYS% CYGWIN%,$(shell uname)))
66
- LN_S = cp -p
92
+ ifneq (,$(filter MINGW% MSYS% CYGWIN%,$(shell $(UNAME))))
67
93
  LN_SF = cp -p
68
94
  else
69
95
  ifneq (,$(filter Windows%,$(OS)))
70
- LN_S = cp -p
71
96
  LN_SF = cp -p
72
97
  else
73
- LN_S = ln -s
74
98
  LN_SF = ln -sf
75
99
  endif
76
100
  endif
77
101
  endif
78
102
 
79
- ifneq (,$(filter $(shell uname),SunOS))
103
+ ifneq (,$(filter $(shell $(UNAME)),SunOS))
80
104
  INSTALL ?= ginstall
81
105
  else
82
106
  INSTALL ?= install
data/contrib/lz4/NEWS CHANGED
@@ -1,3 +1,24 @@
1
+ v1.9.4
2
+ perf : faster decoding speed (~+20%) on aarch64 platforms
3
+ perf : faster decoding speed (~+70%) for -BD4 setting in CLI
4
+ api : new function `LZ4_decompress_safe_partial_usingDict()` by @yawqi
5
+ api : lz4frame: ability to provide custom allocators at state creation
6
+ api : can skip checksum validation for improved decoding speed
7
+ api : new experimental unit `lz4file` for file i/o API, by @anjiahao1
8
+ api : new experimental function `LZ4F_uncompressedUpdate()`, by @alexmohr
9
+ cli : `--list` works on `stdin` input, by @Low-power
10
+ cli : `--no-crc` does not produce (compression) nor check (decompression) checksums
11
+ cli : fix: `--test` and `--list` produce an error code when parsing invalid input
12
+ cli : fix: support skippable frames when passed via `stdin`, reported by @davidmankin
13
+ build: fix: Makefile respects CFLAGS directives passed via environment variable
14
+ build: `LZ4_FREESTANDING`, new build macro for freestanding environments, by @t-mat
15
+ build: `make` and `make test` are compatible with `-j` parallel run
16
+ build: AS/400 compatibility, by @jonrumsey
17
+ build: Solaris 10 compatibility, by @pekdon
18
+ build: MSVC 2022 support, by @t-mat
19
+ build: improved meson script, by @eli-schwartz
20
+ doc : Updated LZ4 block format, provide an "implementation notes" section
21
+
1
22
  v1.9.3
2
23
  perf: highly improved speed in kernel space, by @terrelln
3
24
  perf: faster speed with Visual Studio, thanks to @wolfpld and @remittor
@@ -83,7 +83,7 @@ It is compatible with parallel builds (`-j#`).
83
83
  [redirection]: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
84
84
  [command redefinition]: https://www.gnu.org/prep/standards/html_node/Utilities-in-Makefiles.html
85
85
 
86
- Building LZ4 - Using vcpkg
86
+ ### Building LZ4 - Using vcpkg
87
87
 
88
88
  You can download and install LZ4 using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
89
89
 
@@ -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-2016, Yann Collet"
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
@@ -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-2016, Yann Collet"
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
@@ -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-2016, Yann Collet"
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
@@ -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-2016, Yann Collet"
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
@@ -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>
@@ -161,4 +172,4 @@
161
172
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
162
173
  <ImportGroup Label="ExtensionTargets">
163
174
  </ImportGroup>
164
- </Project>
175
+ </Project>
@@ -0,0 +1,173 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{D745AE2F-596A-403A-9B91-81A8C6779243}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>datagen</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ </PropertyGroup>
28
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30
+ <ConfigurationType>Application</ConfigurationType>
31
+ <UseDebugLibraries>true</UseDebugLibraries>
32
+ <CharacterSet>Unicode</CharacterSet>
33
+ <PlatformToolset>v143</PlatformToolset>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
36
+ <ConfigurationType>Application</ConfigurationType>
37
+ <UseDebugLibraries>true</UseDebugLibraries>
38
+ <CharacterSet>Unicode</CharacterSet>
39
+ <PlatformToolset>v143</PlatformToolset>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
42
+ <ConfigurationType>Application</ConfigurationType>
43
+ <UseDebugLibraries>false</UseDebugLibraries>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
46
+ <PlatformToolset>v143</PlatformToolset>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49
+ <ConfigurationType>Application</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <CharacterSet>Unicode</CharacterSet>
52
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
53
+ <PlatformToolset>v143</PlatformToolset>
54
+ </PropertyGroup>
55
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56
+ <ImportGroup Label="ExtensionSettings">
57
+ </ImportGroup>
58
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63
+ </ImportGroup>
64
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66
+ </ImportGroup>
67
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69
+ </ImportGroup>
70
+ <PropertyGroup Label="UserMacros" />
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ </PropertyGroup>
75
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+ <LinkIncremental>true</LinkIncremental>
77
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
78
+ <RunCodeAnalysis>true</RunCodeAnalysis>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85
+ <LinkIncremental>false</LinkIncremental>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ <RunCodeAnalysis>true</RunCodeAnalysis>
88
+ </PropertyGroup>
89
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
+ <ClCompile>
91
+ <PrecompiledHeader>
92
+ </PrecompiledHeader>
93
+ <WarningLevel>Level4</WarningLevel>
94
+ <Optimization>Disabled</Optimization>
95
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <TreatWarningAsError>true</TreatWarningAsError>
97
+ <EnablePREfast>false</EnablePREfast>
98
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
99
+ </ClCompile>
100
+ <Link>
101
+ <SubSystem>Console</SubSystem>
102
+ <GenerateDebugInformation>true</GenerateDebugInformation>
103
+ </Link>
104
+ </ItemDefinitionGroup>
105
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
106
+ <ClCompile>
107
+ <PrecompiledHeader>
108
+ </PrecompiledHeader>
109
+ <WarningLevel>Level4</WarningLevel>
110
+ <Optimization>Disabled</Optimization>
111
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112
+ <TreatWarningAsError>true</TreatWarningAsError>
113
+ <EnablePREfast>true</EnablePREfast>
114
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
115
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
116
+ </ClCompile>
117
+ <Link>
118
+ <SubSystem>Console</SubSystem>
119
+ <GenerateDebugInformation>true</GenerateDebugInformation>
120
+ </Link>
121
+ </ItemDefinitionGroup>
122
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
123
+ <ClCompile>
124
+ <WarningLevel>Level4</WarningLevel>
125
+ <PrecompiledHeader>
126
+ </PrecompiledHeader>
127
+ <Optimization>MaxSpeed</Optimization>
128
+ <FunctionLevelLinking>true</FunctionLevelLinking>
129
+ <IntrinsicFunctions>true</IntrinsicFunctions>
130
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131
+ <TreatWarningAsError>false</TreatWarningAsError>
132
+ <EnablePREfast>false</EnablePREfast>
133
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
134
+ </ClCompile>
135
+ <Link>
136
+ <SubSystem>Console</SubSystem>
137
+ <GenerateDebugInformation>true</GenerateDebugInformation>
138
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
139
+ <OptimizeReferences>true</OptimizeReferences>
140
+ </Link>
141
+ </ItemDefinitionGroup>
142
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
143
+ <ClCompile>
144
+ <WarningLevel>Level4</WarningLevel>
145
+ <PrecompiledHeader>
146
+ </PrecompiledHeader>
147
+ <Optimization>MaxSpeed</Optimization>
148
+ <FunctionLevelLinking>true</FunctionLevelLinking>
149
+ <IntrinsicFunctions>true</IntrinsicFunctions>
150
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151
+ <TreatWarningAsError>false</TreatWarningAsError>
152
+ <EnablePREfast>true</EnablePREfast>
153
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
154
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
155
+ </ClCompile>
156
+ <Link>
157
+ <SubSystem>Console</SubSystem>
158
+ <GenerateDebugInformation>true</GenerateDebugInformation>
159
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
160
+ <OptimizeReferences>true</OptimizeReferences>
161
+ </Link>
162
+ </ItemDefinitionGroup>
163
+ <ItemGroup>
164
+ <ClCompile Include="..\..\..\programs\datagen.c" />
165
+ <ClCompile Include="..\..\..\tests\datagencli.c" />
166
+ </ItemGroup>
167
+ <ItemGroup>
168
+ <ClInclude Include="..\..\..\programs\datagen.h" />
169
+ </ItemGroup>
170
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
171
+ <ImportGroup Label="ExtensionTargets">
172
+ </ImportGroup>
173
+ </Project>
@@ -0,0 +1,180 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{39AD6ECC-8BAD-4368-95E4-A1AA2F077BB7}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>frametest</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ </PropertyGroup>
28
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30
+ <ConfigurationType>Application</ConfigurationType>
31
+ <UseDebugLibraries>true</UseDebugLibraries>
32
+ <CharacterSet>Unicode</CharacterSet>
33
+ <PlatformToolset>v143</PlatformToolset>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
36
+ <ConfigurationType>Application</ConfigurationType>
37
+ <UseDebugLibraries>true</UseDebugLibraries>
38
+ <CharacterSet>Unicode</CharacterSet>
39
+ <PlatformToolset>v143</PlatformToolset>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
42
+ <ConfigurationType>Application</ConfigurationType>
43
+ <UseDebugLibraries>false</UseDebugLibraries>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
46
+ <PlatformToolset>v143</PlatformToolset>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49
+ <ConfigurationType>Application</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <CharacterSet>Unicode</CharacterSet>
52
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
53
+ <PlatformToolset>v143</PlatformToolset>
54
+ </PropertyGroup>
55
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56
+ <ImportGroup Label="ExtensionSettings">
57
+ </ImportGroup>
58
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63
+ </ImportGroup>
64
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66
+ </ImportGroup>
67
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69
+ </ImportGroup>
70
+ <PropertyGroup Label="UserMacros" />
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ </PropertyGroup>
75
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+ <LinkIncremental>true</LinkIncremental>
77
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
78
+ <RunCodeAnalysis>true</RunCodeAnalysis>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85
+ <LinkIncremental>false</LinkIncremental>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ <RunCodeAnalysis>true</RunCodeAnalysis>
88
+ </PropertyGroup>
89
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
+ <ClCompile>
91
+ <PrecompiledHeader>
92
+ </PrecompiledHeader>
93
+ <WarningLevel>Level4</WarningLevel>
94
+ <Optimization>Disabled</Optimization>
95
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <TreatWarningAsError>true</TreatWarningAsError>
97
+ <EnablePREfast>false</EnablePREfast>
98
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
99
+ </ClCompile>
100
+ <Link>
101
+ <SubSystem>Console</SubSystem>
102
+ <GenerateDebugInformation>true</GenerateDebugInformation>
103
+ </Link>
104
+ </ItemDefinitionGroup>
105
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
106
+ <ClCompile>
107
+ <PrecompiledHeader>
108
+ </PrecompiledHeader>
109
+ <WarningLevel>Level4</WarningLevel>
110
+ <Optimization>Disabled</Optimization>
111
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112
+ <TreatWarningAsError>true</TreatWarningAsError>
113
+ <EnablePREfast>true</EnablePREfast>
114
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
115
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
116
+ </ClCompile>
117
+ <Link>
118
+ <SubSystem>Console</SubSystem>
119
+ <GenerateDebugInformation>true</GenerateDebugInformation>
120
+ </Link>
121
+ </ItemDefinitionGroup>
122
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
123
+ <ClCompile>
124
+ <WarningLevel>Level4</WarningLevel>
125
+ <PrecompiledHeader>
126
+ </PrecompiledHeader>
127
+ <Optimization>MaxSpeed</Optimization>
128
+ <FunctionLevelLinking>true</FunctionLevelLinking>
129
+ <IntrinsicFunctions>true</IntrinsicFunctions>
130
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131
+ <TreatWarningAsError>false</TreatWarningAsError>
132
+ <EnablePREfast>false</EnablePREfast>
133
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
134
+ </ClCompile>
135
+ <Link>
136
+ <SubSystem>Console</SubSystem>
137
+ <GenerateDebugInformation>true</GenerateDebugInformation>
138
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
139
+ <OptimizeReferences>true</OptimizeReferences>
140
+ </Link>
141
+ </ItemDefinitionGroup>
142
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
143
+ <ClCompile>
144
+ <WarningLevel>Level4</WarningLevel>
145
+ <PrecompiledHeader>
146
+ </PrecompiledHeader>
147
+ <Optimization>MaxSpeed</Optimization>
148
+ <FunctionLevelLinking>true</FunctionLevelLinking>
149
+ <IntrinsicFunctions>true</IntrinsicFunctions>
150
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151
+ <TreatWarningAsError>false</TreatWarningAsError>
152
+ <EnablePREfast>true</EnablePREfast>
153
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
154
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
155
+ </ClCompile>
156
+ <Link>
157
+ <SubSystem>Console</SubSystem>
158
+ <GenerateDebugInformation>true</GenerateDebugInformation>
159
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
160
+ <OptimizeReferences>true</OptimizeReferences>
161
+ </Link>
162
+ </ItemDefinitionGroup>
163
+ <ItemGroup>
164
+ <ClCompile Include="..\..\..\lib\lz4.c" />
165
+ <ClCompile Include="..\..\..\lib\lz4frame.c" />
166
+ <ClCompile Include="..\..\..\lib\lz4hc.c" />
167
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
168
+ <ClCompile Include="..\..\..\tests\frametest.c" />
169
+ </ItemGroup>
170
+ <ItemGroup>
171
+ <ClInclude Include="..\..\..\lib\lz4.h" />
172
+ <ClInclude Include="..\..\..\lib\lz4frame.h" />
173
+ <ClInclude Include="..\..\..\lib\lz4frame_static.h" />
174
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
175
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
176
+ </ItemGroup>
177
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
178
+ <ImportGroup Label="ExtensionTargets">
179
+ </ImportGroup>
180
+ </Project>