zstd-ruby 1.4.4.0 → 1.5.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/README.md +78 -5
- data/Rakefile +8 -2
- data/ext/zstdruby/common.h +15 -0
- data/ext/zstdruby/extconf.rb +3 -2
- data/ext/zstdruby/libzstd/common/allocations.h +55 -0
- data/ext/zstdruby/libzstd/common/bits.h +200 -0
- data/ext/zstdruby/libzstd/common/bitstream.h +74 -97
- data/ext/zstdruby/libzstd/common/compiler.h +219 -20
- data/ext/zstdruby/libzstd/common/cpu.h +1 -3
- data/ext/zstdruby/libzstd/common/debug.c +11 -31
- data/ext/zstdruby/libzstd/common/debug.h +22 -49
- data/ext/zstdruby/libzstd/common/entropy_common.c +184 -80
- data/ext/zstdruby/libzstd/common/error_private.c +11 -2
- data/ext/zstdruby/libzstd/common/error_private.h +87 -4
- data/ext/zstdruby/libzstd/common/fse.h +47 -116
- data/ext/zstdruby/libzstd/common/fse_decompress.c +127 -127
- data/ext/zstdruby/libzstd/common/huf.h +112 -197
- data/ext/zstdruby/libzstd/common/mem.h +124 -142
- data/ext/zstdruby/libzstd/common/pool.c +54 -27
- data/ext/zstdruby/libzstd/common/pool.h +11 -5
- data/ext/zstdruby/libzstd/common/portability_macros.h +156 -0
- data/ext/zstdruby/libzstd/common/threading.c +78 -22
- data/ext/zstdruby/libzstd/common/threading.h +9 -13
- data/ext/zstdruby/libzstd/common/xxhash.c +15 -873
- data/ext/zstdruby/libzstd/common/xxhash.h +5572 -191
- data/ext/zstdruby/libzstd/common/zstd_common.c +2 -37
- data/ext/zstdruby/libzstd/common/zstd_deps.h +111 -0
- data/ext/zstdruby/libzstd/common/zstd_internal.h +186 -144
- data/ext/zstdruby/libzstd/common/zstd_trace.h +163 -0
- data/ext/zstdruby/libzstd/compress/clevels.h +134 -0
- data/ext/zstdruby/libzstd/compress/fse_compress.c +99 -196
- data/ext/zstdruby/libzstd/compress/hist.c +41 -63
- data/ext/zstdruby/libzstd/compress/hist.h +13 -33
- data/ext/zstdruby/libzstd/compress/huf_compress.c +968 -331
- data/ext/zstdruby/libzstd/compress/zstd_compress.c +4120 -1191
- data/ext/zstdruby/libzstd/compress/zstd_compress_internal.h +688 -159
- data/ext/zstdruby/libzstd/compress/zstd_compress_literals.c +121 -40
- data/ext/zstdruby/libzstd/compress/zstd_compress_literals.h +16 -6
- data/ext/zstdruby/libzstd/compress/zstd_compress_sequences.c +62 -35
- data/ext/zstdruby/libzstd/compress/zstd_compress_sequences.h +10 -3
- data/ext/zstdruby/libzstd/compress/zstd_compress_superblock.c +577 -0
- data/ext/zstdruby/libzstd/compress/zstd_compress_superblock.h +32 -0
- data/ext/zstdruby/libzstd/compress/zstd_cwksp.h +322 -115
- data/ext/zstdruby/libzstd/compress/zstd_double_fast.c +394 -154
- data/ext/zstdruby/libzstd/compress/zstd_double_fast.h +4 -3
- data/ext/zstdruby/libzstd/compress/zstd_fast.c +729 -253
- data/ext/zstdruby/libzstd/compress/zstd_fast.h +4 -3
- data/ext/zstdruby/libzstd/compress/zstd_lazy.c +1289 -247
- data/ext/zstdruby/libzstd/compress/zstd_lazy.h +61 -1
- data/ext/zstdruby/libzstd/compress/zstd_ldm.c +339 -212
- data/ext/zstdruby/libzstd/compress/zstd_ldm.h +15 -3
- data/ext/zstdruby/libzstd/compress/zstd_ldm_geartab.h +106 -0
- data/ext/zstdruby/libzstd/compress/zstd_opt.c +508 -282
- data/ext/zstdruby/libzstd/compress/zstd_opt.h +1 -1
- data/ext/zstdruby/libzstd/compress/zstdmt_compress.c +217 -466
- data/ext/zstdruby/libzstd/compress/zstdmt_compress.h +35 -114
- data/ext/zstdruby/libzstd/decompress/huf_decompress.c +1220 -572
- data/ext/zstdruby/libzstd/decompress/huf_decompress_amd64.S +576 -0
- data/ext/zstdruby/libzstd/decompress/zstd_ddict.c +23 -19
- data/ext/zstdruby/libzstd/decompress/zstd_ddict.h +3 -3
- data/ext/zstdruby/libzstd/decompress/zstd_decompress.c +859 -273
- data/ext/zstdruby/libzstd/decompress/zstd_decompress_block.c +1244 -375
- data/ext/zstdruby/libzstd/decompress/zstd_decompress_block.h +21 -7
- data/ext/zstdruby/libzstd/decompress/zstd_decompress_internal.h +74 -11
- data/ext/zstdruby/libzstd/dictBuilder/cover.c +75 -54
- data/ext/zstdruby/libzstd/dictBuilder/cover.h +20 -9
- data/ext/zstdruby/libzstd/dictBuilder/divsufsort.c +1 -1
- data/ext/zstdruby/libzstd/dictBuilder/fastcover.c +55 -36
- data/ext/zstdruby/libzstd/dictBuilder/zdict.c +126 -110
- data/ext/zstdruby/libzstd/{dictBuilder/zdict.h → zdict.h} +248 -56
- data/ext/zstdruby/libzstd/zstd.h +1277 -306
- data/ext/zstdruby/libzstd/{common/zstd_errors.h → zstd_errors.h} +29 -8
- data/ext/zstdruby/main.c +20 -0
- data/ext/zstdruby/skippable_frame.c +63 -0
- data/ext/zstdruby/streaming_compress.c +177 -0
- data/ext/zstdruby/streaming_compress.h +5 -0
- data/ext/zstdruby/streaming_decompress.c +123 -0
- data/ext/zstdruby/zstdruby.c +114 -32
- data/lib/zstd-ruby/version.rb +1 -1
- data/lib/zstd-ruby.rb +0 -1
- data/zstd-ruby.gemspec +1 -1
- metadata +24 -39
- data/.travis.yml +0 -14
- data/ext/zstdruby/libzstd/.gitignore +0 -3
- data/ext/zstdruby/libzstd/BUCK +0 -234
- data/ext/zstdruby/libzstd/Makefile +0 -289
- data/ext/zstdruby/libzstd/README.md +0 -159
- data/ext/zstdruby/libzstd/deprecated/zbuff.h +0 -214
- data/ext/zstdruby/libzstd/deprecated/zbuff_common.c +0 -26
- data/ext/zstdruby/libzstd/deprecated/zbuff_compress.c +0 -147
- data/ext/zstdruby/libzstd/deprecated/zbuff_decompress.c +0 -75
- data/ext/zstdruby/libzstd/dll/example/Makefile +0 -47
- data/ext/zstdruby/libzstd/dll/example/README.md +0 -69
- data/ext/zstdruby/libzstd/dll/example/build_package.bat +0 -20
- data/ext/zstdruby/libzstd/dll/example/fullbench-dll.sln +0 -25
- data/ext/zstdruby/libzstd/dll/example/fullbench-dll.vcxproj +0 -181
- data/ext/zstdruby/libzstd/legacy/zstd_legacy.h +0 -415
- data/ext/zstdruby/libzstd/legacy/zstd_v01.c +0 -2152
- data/ext/zstdruby/libzstd/legacy/zstd_v01.h +0 -94
- data/ext/zstdruby/libzstd/legacy/zstd_v02.c +0 -3514
- data/ext/zstdruby/libzstd/legacy/zstd_v02.h +0 -93
- data/ext/zstdruby/libzstd/legacy/zstd_v03.c +0 -3156
- data/ext/zstdruby/libzstd/legacy/zstd_v03.h +0 -93
- data/ext/zstdruby/libzstd/legacy/zstd_v04.c +0 -3641
- data/ext/zstdruby/libzstd/legacy/zstd_v04.h +0 -142
- data/ext/zstdruby/libzstd/legacy/zstd_v05.c +0 -4046
- data/ext/zstdruby/libzstd/legacy/zstd_v05.h +0 -162
- data/ext/zstdruby/libzstd/legacy/zstd_v06.c +0 -4150
- data/ext/zstdruby/libzstd/legacy/zstd_v06.h +0 -172
- data/ext/zstdruby/libzstd/legacy/zstd_v07.c +0 -4533
- data/ext/zstdruby/libzstd/legacy/zstd_v07.h +0 -187
- data/ext/zstdruby/libzstd/libzstd.pc.in +0 -15
- data/ext/zstdruby/zstdruby.h +0 -6
@@ -1,69 +0,0 @@
|
|
1
|
-
ZSTD Windows binary package
|
2
|
-
====================================
|
3
|
-
|
4
|
-
#### The package contents
|
5
|
-
|
6
|
-
- `zstd.exe` : Command Line Utility, supporting gzip-like arguments
|
7
|
-
- `dll\libzstd.dll` : The ZSTD dynamic library (DLL)
|
8
|
-
- `dll\libzstd.lib` : The import library of the ZSTD dynamic library (DLL) for Visual C++
|
9
|
-
- `example\` : The example of usage of the ZSTD library
|
10
|
-
- `include\` : Header files required by the ZSTD library
|
11
|
-
- `static\libzstd_static.lib` : The static ZSTD library (LIB)
|
12
|
-
|
13
|
-
|
14
|
-
#### Usage of Command Line Interface
|
15
|
-
|
16
|
-
Command Line Interface (CLI) supports gzip-like arguments.
|
17
|
-
By default CLI takes an input file and compresses it to an output file:
|
18
|
-
```
|
19
|
-
Usage: zstd [arg] [input] [output]
|
20
|
-
```
|
21
|
-
The full list of commands for CLI can be obtained with `-h` or `-H`. The ratio can
|
22
|
-
be improved with commands from `-3` to `-16` but higher levels also have slower
|
23
|
-
compression. CLI includes in-memory compression benchmark module with compression
|
24
|
-
levels starting from `-b` and ending with `-e` with iteration time of `-i` seconds.
|
25
|
-
CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined
|
26
|
-
into `-b1e18i1`.
|
27
|
-
|
28
|
-
|
29
|
-
#### The example of usage of static and dynamic ZSTD libraries with gcc/MinGW
|
30
|
-
|
31
|
-
Use `cd example` and `make` to build `fullbench-dll` and `fullbench-lib`.
|
32
|
-
`fullbench-dll` uses a dynamic ZSTD library from the `dll` directory.
|
33
|
-
`fullbench-lib` uses a static ZSTD library from the `lib` directory.
|
34
|
-
|
35
|
-
|
36
|
-
#### Using ZSTD DLL with gcc/MinGW
|
37
|
-
|
38
|
-
The header files from `include\` and the dynamic library `dll\libzstd.dll`
|
39
|
-
are required to compile a project using gcc/MinGW.
|
40
|
-
The dynamic library has to be added to linking options.
|
41
|
-
It means that if a project that uses ZSTD consists of a single `test-dll.c`
|
42
|
-
file it should be linked with `dll\libzstd.dll`. For example:
|
43
|
-
```
|
44
|
-
gcc $(CFLAGS) -Iinclude\ test-dll.c -o test-dll dll\libzstd.dll
|
45
|
-
```
|
46
|
-
The compiled executable will require ZSTD DLL which is available at `dll\libzstd.dll`.
|
47
|
-
|
48
|
-
|
49
|
-
#### The example of usage of static and dynamic ZSTD libraries with Visual C++
|
50
|
-
|
51
|
-
Open `example\fullbench-dll.sln` to compile `fullbench-dll` that uses a
|
52
|
-
dynamic ZSTD library from the `dll` directory. The solution works with Visual C++
|
53
|
-
2010 or newer. When one will open the solution with Visual C++ newer than 2010
|
54
|
-
then the solution will upgraded to the current version.
|
55
|
-
|
56
|
-
|
57
|
-
#### Using ZSTD DLL with Visual C++
|
58
|
-
|
59
|
-
The header files from `include\` and the import library `dll\libzstd.lib`
|
60
|
-
are required to compile a project using Visual C++.
|
61
|
-
|
62
|
-
1. The path to header files should be added to `Additional Include Directories` that can
|
63
|
-
be found in project properties `C/C++` then `General`.
|
64
|
-
2. The import library has to be added to `Additional Dependencies` that can
|
65
|
-
be found in project properties `Linker` then `Input`.
|
66
|
-
If one will provide only the name `libzstd.lib` without a full path to the library
|
67
|
-
the directory has to be added to `Linker\General\Additional Library Directories`.
|
68
|
-
|
69
|
-
The compiled executable will require ZSTD DLL which is available at `dll\libzstd.dll`.
|
@@ -1,20 +0,0 @@
|
|
1
|
-
@ECHO OFF
|
2
|
-
MKDIR bin\dll bin\static bin\example bin\include
|
3
|
-
COPY tests\fullbench.c bin\example\
|
4
|
-
COPY programs\datagen.c bin\example\
|
5
|
-
COPY programs\datagen.h bin\example\
|
6
|
-
COPY programs\util.h bin\example\
|
7
|
-
COPY programs\platform.h bin\example\
|
8
|
-
COPY lib\common\mem.h bin\example\
|
9
|
-
COPY lib\common\zstd_internal.h bin\example\
|
10
|
-
COPY lib\common\error_private.h bin\example\
|
11
|
-
COPY lib\common\xxhash.h bin\example\
|
12
|
-
COPY lib\libzstd.a bin\static\libzstd_static.lib
|
13
|
-
COPY lib\dll\libzstd.* bin\dll\
|
14
|
-
COPY lib\dll\example\Makefile bin\example\
|
15
|
-
COPY lib\dll\example\fullbench-dll.* bin\example\
|
16
|
-
COPY lib\dll\example\README.md bin\
|
17
|
-
COPY lib\zstd.h bin\include\
|
18
|
-
COPY lib\common\zstd_errors.h bin\include\
|
19
|
-
COPY lib\dictBuilder\zdict.h bin\include\
|
20
|
-
COPY programs\zstd.exe bin\zstd.exe
|
@@ -1,25 +0,0 @@
|
|
1
|
-
Microsoft Visual Studio Solution File, Format Version 12.00
|
2
|
-
# Visual Studio Express 2012 for Windows Desktop
|
3
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench-dll", "fullbench-dll.vcxproj", "{13992FD2-077E-4954-B065-A428198201A9}"
|
4
|
-
EndProject
|
5
|
-
Global
|
6
|
-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
7
|
-
Debug|Win32 = Debug|Win32
|
8
|
-
Debug|x64 = Debug|x64
|
9
|
-
Release|Win32 = Release|Win32
|
10
|
-
Release|x64 = Release|x64
|
11
|
-
EndGlobalSection
|
12
|
-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
13
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Debug|Win32.ActiveCfg = Debug|Win32
|
14
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Debug|Win32.Build.0 = Debug|Win32
|
15
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Debug|x64.ActiveCfg = Debug|x64
|
16
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Debug|x64.Build.0 = Debug|x64
|
17
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Release|Win32.ActiveCfg = Release|Win32
|
18
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Release|Win32.Build.0 = Release|Win32
|
19
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Release|x64.ActiveCfg = Release|x64
|
20
|
-
{13992FD2-077E-4954-B065-A428198201A9}.Release|x64.Build.0 = Release|x64
|
21
|
-
EndGlobalSection
|
22
|
-
GlobalSection(SolutionProperties) = preSolution
|
23
|
-
HideSolutionNode = FALSE
|
24
|
-
EndGlobalSection
|
25
|
-
EndGlobal
|
@@ -1,181 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="4.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>{00000000-1CC8-4FD7-9281-6B8DBB9D3DF8}</ProjectGuid>
|
23
|
-
<Keyword>Win32Proj</Keyword>
|
24
|
-
<RootNamespace>fullbench-dll</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>MultiByte</CharacterSet>
|
33
|
-
</PropertyGroup>
|
34
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
35
|
-
<ConfigurationType>Application</ConfigurationType>
|
36
|
-
<UseDebugLibraries>true</UseDebugLibraries>
|
37
|
-
<CharacterSet>MultiByte</CharacterSet>
|
38
|
-
</PropertyGroup>
|
39
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
40
|
-
<ConfigurationType>Application</ConfigurationType>
|
41
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
42
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
43
|
-
<CharacterSet>MultiByte</CharacterSet>
|
44
|
-
</PropertyGroup>
|
45
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
46
|
-
<ConfigurationType>Application</ConfigurationType>
|
47
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
48
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
49
|
-
<CharacterSet>MultiByte</CharacterSet>
|
50
|
-
</PropertyGroup>
|
51
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
52
|
-
<ImportGroup Label="ExtensionSettings">
|
53
|
-
</ImportGroup>
|
54
|
-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
55
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
56
|
-
</ImportGroup>
|
57
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
58
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
59
|
-
</ImportGroup>
|
60
|
-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
61
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
62
|
-
</ImportGroup>
|
63
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
64
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
65
|
-
</ImportGroup>
|
66
|
-
<PropertyGroup Label="UserMacros" />
|
67
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
68
|
-
<LinkIncremental>true</LinkIncremental>
|
69
|
-
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
70
|
-
<RunCodeAnalysis>false</RunCodeAnalysis>
|
71
|
-
</PropertyGroup>
|
72
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
73
|
-
<LinkIncremental>true</LinkIncremental>
|
74
|
-
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
75
|
-
<RunCodeAnalysis>false</RunCodeAnalysis>
|
76
|
-
</PropertyGroup>
|
77
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
78
|
-
<LinkIncremental>false</LinkIncremental>
|
79
|
-
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
80
|
-
<RunCodeAnalysis>false</RunCodeAnalysis>
|
81
|
-
</PropertyGroup>
|
82
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
83
|
-
<LinkIncremental>false</LinkIncremental>
|
84
|
-
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
85
|
-
<RunCodeAnalysis>false</RunCodeAnalysis>
|
86
|
-
</PropertyGroup>
|
87
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
88
|
-
<ClCompile>
|
89
|
-
<PrecompiledHeader>
|
90
|
-
</PrecompiledHeader>
|
91
|
-
<WarningLevel>Level4</WarningLevel>
|
92
|
-
<Optimization>Disabled</Optimization>
|
93
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;ZSTD_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
94
|
-
<TreatWarningAsError>true</TreatWarningAsError>
|
95
|
-
<EnablePREfast>false</EnablePREfast>
|
96
|
-
<AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
|
97
|
-
</ClCompile>
|
98
|
-
<Link>
|
99
|
-
<SubSystem>Console</SubSystem>
|
100
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
101
|
-
<AdditionalLibraryDirectories>$(SolutionDir)..\dll;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
102
|
-
<AdditionalDependencies>libzstd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
103
|
-
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
104
|
-
</Link>
|
105
|
-
</ItemDefinitionGroup>
|
106
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
107
|
-
<ClCompile>
|
108
|
-
<PrecompiledHeader>
|
109
|
-
</PrecompiledHeader>
|
110
|
-
<WarningLevel>Level4</WarningLevel>
|
111
|
-
<Optimization>Disabled</Optimization>
|
112
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;ZSTD_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
113
|
-
<TreatWarningAsError>true</TreatWarningAsError>
|
114
|
-
<EnablePREfast>false</EnablePREfast>
|
115
|
-
<AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
|
116
|
-
</ClCompile>
|
117
|
-
<Link>
|
118
|
-
<SubSystem>Console</SubSystem>
|
119
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
120
|
-
<AdditionalLibraryDirectories>$(SolutionDir)..\dll;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
121
|
-
<AdditionalDependencies>libzstd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
122
|
-
</Link>
|
123
|
-
</ItemDefinitionGroup>
|
124
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
125
|
-
<ClCompile>
|
126
|
-
<WarningLevel>Level4</WarningLevel>
|
127
|
-
<PrecompiledHeader>
|
128
|
-
</PrecompiledHeader>
|
129
|
-
<Optimization>MaxSpeed</Optimization>
|
130
|
-
<FunctionLevelLinking>true</FunctionLevelLinking>
|
131
|
-
<IntrinsicFunctions>true</IntrinsicFunctions>
|
132
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;ZSTD_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
133
|
-
<EnablePREfast>false</EnablePREfast>
|
134
|
-
<AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
|
135
|
-
<TreatWarningAsError>false</TreatWarningAsError>
|
136
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
137
|
-
</ClCompile>
|
138
|
-
<Link>
|
139
|
-
<SubSystem>Console</SubSystem>
|
140
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
141
|
-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
142
|
-
<OptimizeReferences>true</OptimizeReferences>
|
143
|
-
<AdditionalLibraryDirectories>$(SolutionDir)..\dll;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
144
|
-
<AdditionalDependencies>libzstd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
145
|
-
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
146
|
-
</Link>
|
147
|
-
</ItemDefinitionGroup>
|
148
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
149
|
-
<ClCompile>
|
150
|
-
<WarningLevel>Level4</WarningLevel>
|
151
|
-
<PrecompiledHeader>
|
152
|
-
</PrecompiledHeader>
|
153
|
-
<Optimization>MaxSpeed</Optimization>
|
154
|
-
<FunctionLevelLinking>true</FunctionLevelLinking>
|
155
|
-
<IntrinsicFunctions>true</IntrinsicFunctions>
|
156
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;ZSTD_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
157
|
-
<TreatWarningAsError>false</TreatWarningAsError>
|
158
|
-
<EnablePREfast>false</EnablePREfast>
|
159
|
-
<AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
|
160
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
161
|
-
</ClCompile>
|
162
|
-
<Link>
|
163
|
-
<SubSystem>Console</SubSystem>
|
164
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
165
|
-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
166
|
-
<OptimizeReferences>true</OptimizeReferences>
|
167
|
-
<AdditionalLibraryDirectories>$(SolutionDir)..\dll;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
168
|
-
<AdditionalDependencies>libzstd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
169
|
-
</Link>
|
170
|
-
</ItemDefinitionGroup>
|
171
|
-
<ItemGroup>
|
172
|
-
<ClCompile Include="datagen.c" />
|
173
|
-
<ClCompile Include="fullbench.c" />
|
174
|
-
</ItemGroup>
|
175
|
-
<ItemGroup>
|
176
|
-
<ClInclude Include="..\include\zstd.h" />
|
177
|
-
</ItemGroup>
|
178
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
179
|
-
<ImportGroup Label="ExtensionTargets">
|
180
|
-
</ImportGroup>
|
181
|
-
</Project>
|