zstd-ruby 1.5.2.0 → 1.5.2.1
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 +55 -2
- data/Rakefile +8 -2
- data/ext/zstdruby/{zstdruby.h → common.h} +2 -0
- data/ext/zstdruby/main.c +14 -0
- data/ext/zstdruby/streaming_compress.c +185 -0
- data/ext/zstdruby/streaming_compress.h +5 -0
- data/ext/zstdruby/streaming_decompress.c +125 -0
- data/ext/zstdruby/zstdruby.c +4 -6
- data/lib/zstd-ruby/version.rb +1 -1
- data/zstd-ruby.gemspec +1 -1
- metadata +7 -36
- data/.github/dependabot.yml +0 -8
- data/.github/workflows/ruby.yml +0 -35
- data/ext/zstdruby/libzstd/.gitignore +0 -3
- data/ext/zstdruby/libzstd/BUCK +0 -232
- data/ext/zstdruby/libzstd/Makefile +0 -357
- data/ext/zstdruby/libzstd/README.md +0 -217
- 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 -167
- data/ext/zstdruby/libzstd/deprecated/zbuff_decompress.c +0 -75
- data/ext/zstdruby/libzstd/dll/example/Makefile +0 -48
- data/ext/zstdruby/libzstd/dll/example/README.md +0 -63
- 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 -2158
- data/ext/zstdruby/libzstd/legacy/zstd_v01.h +0 -94
- data/ext/zstdruby/libzstd/legacy/zstd_v02.c +0 -3518
- data/ext/zstdruby/libzstd/legacy/zstd_v02.h +0 -93
- data/ext/zstdruby/libzstd/legacy/zstd_v03.c +0 -3160
- data/ext/zstdruby/libzstd/legacy/zstd_v03.h +0 -93
- data/ext/zstdruby/libzstd/legacy/zstd_v04.c +0 -3647
- data/ext/zstdruby/libzstd/legacy/zstd_v04.h +0 -142
- data/ext/zstdruby/libzstd/legacy/zstd_v05.c +0 -4050
- data/ext/zstdruby/libzstd/legacy/zstd_v05.h +0 -162
- data/ext/zstdruby/libzstd/legacy/zstd_v06.c +0 -4154
- data/ext/zstdruby/libzstd/legacy/zstd_v06.h +0 -172
- data/ext/zstdruby/libzstd/legacy/zstd_v07.c +0 -4541
- data/ext/zstdruby/libzstd/legacy/zstd_v07.h +0 -187
- data/ext/zstdruby/libzstd/libzstd.mk +0 -203
- data/ext/zstdruby/libzstd/libzstd.pc.in +0 -16
- data/ext/zstdruby/libzstd/module.modulemap +0 -25
@@ -1,75 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Yann Collet, Facebook, Inc.
|
3
|
-
* All rights reserved.
|
4
|
-
*
|
5
|
-
* This source code is licensed under both the BSD-style license (found in the
|
6
|
-
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
7
|
-
* in the COPYING file in the root directory of this source tree).
|
8
|
-
* You may select, at your option, one of the above-listed licenses.
|
9
|
-
*/
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
/* *************************************
|
14
|
-
* Dependencies
|
15
|
-
***************************************/
|
16
|
-
#define ZBUFF_STATIC_LINKING_ONLY
|
17
|
-
#include "zbuff.h"
|
18
|
-
|
19
|
-
|
20
|
-
ZBUFF_DCtx* ZBUFF_createDCtx(void)
|
21
|
-
{
|
22
|
-
return ZSTD_createDStream();
|
23
|
-
}
|
24
|
-
|
25
|
-
ZBUFF_DCtx* ZBUFF_createDCtx_advanced(ZSTD_customMem customMem)
|
26
|
-
{
|
27
|
-
return ZSTD_createDStream_advanced(customMem);
|
28
|
-
}
|
29
|
-
|
30
|
-
size_t ZBUFF_freeDCtx(ZBUFF_DCtx* zbd)
|
31
|
-
{
|
32
|
-
return ZSTD_freeDStream(zbd);
|
33
|
-
}
|
34
|
-
|
35
|
-
|
36
|
-
/* *** Initialization *** */
|
37
|
-
|
38
|
-
size_t ZBUFF_decompressInitDictionary(ZBUFF_DCtx* zbd, const void* dict, size_t dictSize)
|
39
|
-
{
|
40
|
-
return ZSTD_initDStream_usingDict(zbd, dict, dictSize);
|
41
|
-
}
|
42
|
-
|
43
|
-
size_t ZBUFF_decompressInit(ZBUFF_DCtx* zbd)
|
44
|
-
{
|
45
|
-
return ZSTD_initDStream(zbd);
|
46
|
-
}
|
47
|
-
|
48
|
-
|
49
|
-
/* *** Decompression *** */
|
50
|
-
|
51
|
-
size_t ZBUFF_decompressContinue(ZBUFF_DCtx* zbd,
|
52
|
-
void* dst, size_t* dstCapacityPtr,
|
53
|
-
const void* src, size_t* srcSizePtr)
|
54
|
-
{
|
55
|
-
ZSTD_outBuffer outBuff;
|
56
|
-
ZSTD_inBuffer inBuff;
|
57
|
-
size_t result;
|
58
|
-
outBuff.dst = dst;
|
59
|
-
outBuff.pos = 0;
|
60
|
-
outBuff.size = *dstCapacityPtr;
|
61
|
-
inBuff.src = src;
|
62
|
-
inBuff.pos = 0;
|
63
|
-
inBuff.size = *srcSizePtr;
|
64
|
-
result = ZSTD_decompressStream(zbd, &outBuff, &inBuff);
|
65
|
-
*dstCapacityPtr = outBuff.pos;
|
66
|
-
*srcSizePtr = inBuff.pos;
|
67
|
-
return result;
|
68
|
-
}
|
69
|
-
|
70
|
-
|
71
|
-
/* *************************************
|
72
|
-
* Tool functions
|
73
|
-
***************************************/
|
74
|
-
size_t ZBUFF_recommendedDInSize(void) { return ZSTD_DStreamInSize(); }
|
75
|
-
size_t ZBUFF_recommendedDOutSize(void) { return ZSTD_DStreamOutSize(); }
|
@@ -1,48 +0,0 @@
|
|
1
|
-
# ################################################################
|
2
|
-
# Copyright (c) Yann Collet, Facebook, Inc.
|
3
|
-
# All rights reserved.
|
4
|
-
#
|
5
|
-
# This source code is licensed under both the BSD-style license (found in the
|
6
|
-
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
7
|
-
# in the COPYING file in the root directory of this source tree).
|
8
|
-
# You may select, at your option, one of the above-listed licenses.
|
9
|
-
# ################################################################
|
10
|
-
|
11
|
-
VOID := /dev/null
|
12
|
-
ZSTDDIR := ../include
|
13
|
-
LIBDIR := ../static
|
14
|
-
DLLDIR := ../dll
|
15
|
-
|
16
|
-
CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make
|
17
|
-
CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
|
18
|
-
-Wdeclaration-after-statement -Wstrict-prototypes \
|
19
|
-
-Wpointer-arith -Wstrict-aliasing=1
|
20
|
-
CFLAGS += $(MOREFLAGS)
|
21
|
-
CPPFLAGS:= -I$(ZSTDDIR) -DXXH_NAMESPACE=ZSTD_
|
22
|
-
FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
23
|
-
|
24
|
-
|
25
|
-
# Define *.exe as extension for Windows systems
|
26
|
-
ifneq (,$(filter Windows%,$(OS)))
|
27
|
-
EXT =.exe
|
28
|
-
else
|
29
|
-
EXT =
|
30
|
-
endif
|
31
|
-
|
32
|
-
.PHONY: default fullbench-dll fullbench-lib
|
33
|
-
|
34
|
-
|
35
|
-
default: all
|
36
|
-
|
37
|
-
all: fullbench-dll fullbench-lib
|
38
|
-
|
39
|
-
|
40
|
-
fullbench-lib: fullbench.c datagen.c
|
41
|
-
$(CC) $(FLAGS) $^ -o $@$(EXT) $(LIBDIR)/libzstd_static.lib
|
42
|
-
|
43
|
-
fullbench-dll: fullbench.c datagen.c
|
44
|
-
$(CC) $(FLAGS) $^ -o $@$(EXT) -DZSTD_DLL_IMPORT=1 $(DLLDIR)/libzstd.dll
|
45
|
-
|
46
|
-
clean:
|
47
|
-
@$(RM) fullbench-dll$(EXT) fullbench-lib$(EXT) \
|
48
|
-
@echo Cleaning completed
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# ZSTD Windows binary package
|
2
|
-
|
3
|
-
## The package contents
|
4
|
-
|
5
|
-
- `zstd.exe` : Command Line Utility, supporting gzip-like arguments
|
6
|
-
- `dll\libzstd.dll` : The ZSTD dynamic library (DLL)
|
7
|
-
- `dll\libzstd.lib` : The import library of the ZSTD dynamic library (DLL) for Visual C++
|
8
|
-
- `example\` : The example of usage of the ZSTD library
|
9
|
-
- `include\` : Header files required by the ZSTD library
|
10
|
-
- `static\libzstd_static.lib` : The static ZSTD library (LIB)
|
11
|
-
|
12
|
-
## Usage of Command Line Interface
|
13
|
-
|
14
|
-
Command Line Interface (CLI) supports gzip-like arguments.
|
15
|
-
By default CLI takes an input file and compresses it to an output file:
|
16
|
-
|
17
|
-
Usage: zstd [arg] [input] [output]
|
18
|
-
|
19
|
-
The full list of commands for CLI can be obtained with `-h` or `-H`. The ratio can
|
20
|
-
be improved with commands from `-3` to `-16` but higher levels also have slower
|
21
|
-
compression. CLI includes in-memory compression benchmark module with compression
|
22
|
-
levels starting from `-b` and ending with `-e` with iteration time of `-i` seconds.
|
23
|
-
CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined
|
24
|
-
into `-b1e18i1`.
|
25
|
-
|
26
|
-
## The example of usage of static and dynamic ZSTD libraries with gcc/MinGW
|
27
|
-
|
28
|
-
Use `cd example` and `make` to build `fullbench-dll` and `fullbench-lib`.
|
29
|
-
`fullbench-dll` uses a dynamic ZSTD library from the `dll` directory.
|
30
|
-
`fullbench-lib` uses a static ZSTD library from the `lib` directory.
|
31
|
-
|
32
|
-
## Using ZSTD DLL with gcc/MinGW
|
33
|
-
|
34
|
-
The header files from `include\` and the dynamic library `dll\libzstd.dll`
|
35
|
-
are required to compile a project using gcc/MinGW.
|
36
|
-
The dynamic library has to be added to linking options.
|
37
|
-
It means that if a project that uses ZSTD consists of a single `test-dll.c`
|
38
|
-
file it should be linked with `dll\libzstd.dll`. For example:
|
39
|
-
|
40
|
-
gcc $(CFLAGS) -Iinclude\ test-dll.c -o test-dll dll\libzstd.dll
|
41
|
-
|
42
|
-
The compiled executable will require ZSTD DLL which is available at `dll\libzstd.dll`.
|
43
|
-
|
44
|
-
## The example of usage of static and dynamic ZSTD libraries with Visual C++
|
45
|
-
|
46
|
-
Open `example\fullbench-dll.sln` to compile `fullbench-dll` that uses a
|
47
|
-
dynamic ZSTD library from the `dll` directory. The solution works with Visual C++
|
48
|
-
2010 or newer. When one will open the solution with Visual C++ newer than 2010
|
49
|
-
then the solution will upgraded to the current version.
|
50
|
-
|
51
|
-
## Using ZSTD DLL with Visual C++
|
52
|
-
|
53
|
-
The header files from `include\` and the import library `dll\libzstd.lib`
|
54
|
-
are required to compile a project using Visual C++.
|
55
|
-
|
56
|
-
1. The path to header files should be added to `Additional Include Directories` that can
|
57
|
-
be found in project properties `C/C++` then `General`.
|
58
|
-
2. The import library has to be added to `Additional Dependencies` that can
|
59
|
-
be found in project properties `Linker` then `Input`.
|
60
|
-
If one will provide only the name `libzstd.lib` without a full path to the library
|
61
|
-
the directory has to be added to `Linker\General\Additional Library Directories`.
|
62
|
-
|
63
|
-
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>
|