added datagen in Visual Studio project
This commit is contained in:
+7
-5
@@ -28,9 +28,7 @@ install:
|
|||||||
SET "PATH_MINGW64=c:\msys64\mingw64\bin;c:\msys64\usr\bin" &&
|
SET "PATH_MINGW64=c:\msys64\mingw64\bin;c:\msys64\usr\bin" &&
|
||||||
COPY C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe
|
COPY C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe
|
||||||
) else (
|
) else (
|
||||||
IF [%PLATFORM%]==[x64] (SET ADDITIONALPARAM=/p:LibraryPath="C:\Program Files\Microsoft SDKs\Windows\v7.1\lib\x64;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\lib\amd64;") &&
|
IF [%PLATFORM%]==[x64] (SET ADDITIONALPARAM=/p:LibraryPath="C:\Program Files\Microsoft SDKs\Windows\v7.1\lib\x64;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\lib\amd64;")
|
||||||
COPY programs\tests\playTests.bat playTests.bat &&
|
|
||||||
COPY programs\tests\roundTripTest.bat roundTripTest.bat
|
|
||||||
)
|
)
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
@@ -81,7 +79,8 @@ build_script:
|
|||||||
ECHO *** &&
|
ECHO *** &&
|
||||||
msbuild "projects\VS2010\zstd.sln" /m /verbosity:normal /property:PlatformToolset=v140 /t:Clean,Build /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
|
msbuild "projects\VS2010\zstd.sln" /m /verbosity:normal /property:PlatformToolset=v140 /t:Clean,Build /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
|
||||||
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\fuzzer.exe projects\fuzzer_VS2015_%PLATFORM%_%CONFIGURATION%.exe &&
|
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\fuzzer.exe projects\fuzzer_VS2015_%PLATFORM%_%CONFIGURATION%.exe &&
|
||||||
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\zstd.exe zstd_VS2015_%PLATFORM%_%CONFIGURATION%.exe
|
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\zstd.exe projects\zstd_VS2015_%PLATFORM%_%CONFIGURATION%.exe &&
|
||||||
|
COPY projects\VS2010\bin\%PLATFORM%\%CONFIGURATION%\datagen.exe projects\datagen_VS2015_%PLATFORM%_%CONFIGURATION%.exe
|
||||||
)
|
)
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
@@ -95,5 +94,8 @@ test_script:
|
|||||||
projects\fuzzer_VS2012_%PLATFORM%_Release.exe %FUZZERTEST% &&
|
projects\fuzzer_VS2012_%PLATFORM%_Release.exe %FUZZERTEST% &&
|
||||||
projects\fuzzer_VS2013_%PLATFORM%_Release.exe %FUZZERTEST% &&
|
projects\fuzzer_VS2013_%PLATFORM%_Release.exe %FUZZERTEST% &&
|
||||||
projects\fuzzer_VS2015_%PLATFORM%_Release.exe %FUZZERTEST% &&
|
projects\fuzzer_VS2015_%PLATFORM%_Release.exe %FUZZERTEST% &&
|
||||||
REM zstd_VS2015_%PLATFORM%_Release.exe
|
CD programs &&
|
||||||
|
SET ZSTD=..\projects\zstd_VS2015_%PLATFORM%_Release.exe &&
|
||||||
|
SET DATAGEN=..\projects\datagen_VS2015_%PLATFORM%_Release.exe &&
|
||||||
|
CALL tests\playTests.bat --test-large-data
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
/*-************************************
|
/*-************************************
|
||||||
* Includes
|
* Includes
|
||||||
**************************************/
|
**************************************/
|
||||||
|
#include "util.h" /* Compiler options */
|
||||||
#include <stdio.h> /* fprintf, stderr */
|
#include <stdio.h> /* fprintf, stderr */
|
||||||
#include "mem.h"
|
|
||||||
#include "datagen.h" /* RDG_generate */
|
#include "datagen.h" /* RDG_generate */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
@echo off
|
@echo off
|
||||||
if [%ZSTD%]==[] echo ZSTD variable must be defined! && exit /b 1
|
if [%ZSTD%]==[] echo ZSTD variable must be defined! && exit /b 1
|
||||||
|
if [%DATAGEN%]==[] echo DATAGEN variable must be defined! && exit /b 1
|
||||||
|
|
||||||
|
SET ROUNDTRIPTEST=tests\roundTripTest.bat
|
||||||
|
|
||||||
echo. && echo **** simple tests ****
|
echo. && echo **** simple tests ****
|
||||||
datagen > tmp
|
%DATAGEN% > tmp
|
||||||
%ZSTD% -f tmp && REM trivial compression case, creates tmp.zst
|
%ZSTD% -f tmp && REM trivial compression case, creates tmp.zst
|
||||||
%ZSTD% -df tmp.zst && REM trivial decompression case (overwrites tmp)
|
%ZSTD% -df tmp.zst && REM trivial decompression case (overwrites tmp)
|
||||||
echo test : too large compression level (must fail)
|
echo test : too large compression level (must fail)
|
||||||
@@ -55,9 +58,9 @@ REM echo foo | %ZSTD% | %ZSTD% -d > /dev/full && (echo write error not detected!
|
|||||||
|
|
||||||
echo. && echo **** dictionary tests ****
|
echo. && echo **** dictionary tests ****
|
||||||
|
|
||||||
datagen > tmpDict
|
%DATAGEN% > tmpDict
|
||||||
datagen -g1M | md5sum > tmp1
|
%DATAGEN% -g1M | md5sum > tmp1
|
||||||
datagen -g1M | %ZSTD% -D tmpDict | %ZSTD% -D tmpDict -dvq | md5sum > tmp2
|
%DATAGEN% -g1M | %ZSTD% -D tmpDict | %ZSTD% -D tmpDict -dvq | md5sum > tmp2
|
||||||
fc tmp1 tmp2
|
fc tmp1 tmp2
|
||||||
%ZSTD% --train *.c *.h -o tmpDict
|
%ZSTD% --train *.c *.h -o tmpDict
|
||||||
%ZSTD% xxhash.c -D tmpDict -of tmp
|
%ZSTD% xxhash.c -D tmpDict -of tmp
|
||||||
@@ -67,9 +70,9 @@ fc xxhash.c result
|
|||||||
|
|
||||||
echo. && echo **** multiple files tests ****
|
echo. && echo **** multiple files tests ****
|
||||||
|
|
||||||
datagen -s1 > tmp1 2> NUL
|
%DATAGEN% -s1 > tmp1 2> NUL
|
||||||
datagen -s2 -g100K > tmp2 2> NUL
|
%DATAGEN% -s2 -g100K > tmp2 2> NUL
|
||||||
datagen -s3 -g1M > tmp3 2> NUL
|
%DATAGEN% -s3 -g1M > tmp3 2> NUL
|
||||||
%ZSTD% -f tmp*
|
%ZSTD% -f tmp*
|
||||||
echo compress tmp* :
|
echo compress tmp* :
|
||||||
ls -ls tmp*
|
ls -ls tmp*
|
||||||
@@ -101,14 +104,14 @@ echo test good and bad files (*)
|
|||||||
|
|
||||||
echo. && echo **** zstd round-trip tests ****
|
echo. && echo **** zstd round-trip tests ****
|
||||||
|
|
||||||
CALL roundTripTest.bat
|
CALL %ROUNDTRIPTEST%
|
||||||
CALL roundTripTest.bat -g15K && REM TableID==3
|
CALL %ROUNDTRIPTEST% -g15K && REM TableID==3
|
||||||
CALL roundTripTest.bat -g127K && REM TableID==2
|
CALL %ROUNDTRIPTEST% -g127K && REM TableID==2
|
||||||
CALL roundTripTest.bat -g255K && REM TableID==1
|
CALL %ROUNDTRIPTEST% -g255K && REM TableID==1
|
||||||
CALL roundTripTest.bat -g513K && REM TableID==0
|
CALL %ROUNDTRIPTEST% -g513K && REM TableID==0
|
||||||
CALL roundTripTest.bat -g512K 6 && REM greedy, hash chain
|
CALL %ROUNDTRIPTEST% -g512K 6 && REM greedy, hash chain
|
||||||
CALL roundTripTest.bat -g512K 16 && REM btlazy2
|
CALL %ROUNDTRIPTEST% -g512K 16 && REM btlazy2
|
||||||
CALL roundTripTest.bat -g512K 19 && REM btopt
|
CALL %ROUNDTRIPTEST% -g512K 19 && REM btopt
|
||||||
|
|
||||||
rm tmp*
|
rm tmp*
|
||||||
echo Param = %1
|
echo Param = %1
|
||||||
@@ -117,33 +120,33 @@ if NOT "%1"=="--test-large-data" (
|
|||||||
exit /b 0
|
exit /b 0
|
||||||
)
|
)
|
||||||
|
|
||||||
CALL roundTripTest.bat -g270000000 1
|
CALL %ROUNDTRIPTEST% -g270000000 1
|
||||||
CALL roundTripTest.bat -g270000000 2
|
CALL %ROUNDTRIPTEST% -g270000000 2
|
||||||
CALL roundTripTest.bat -g270000000 3
|
CALL %ROUNDTRIPTEST% -g270000000 3
|
||||||
|
|
||||||
CALL roundTripTest.bat -g140000000 -P60 4
|
CALL %ROUNDTRIPTEST% -g140000000 -P60 4
|
||||||
CALL roundTripTest.bat -g140000000 -P60 5
|
CALL %ROUNDTRIPTEST% -g140000000 -P60 5
|
||||||
CALL roundTripTest.bat -g140000000 -P60 6
|
CALL %ROUNDTRIPTEST% -g140000000 -P60 6
|
||||||
|
|
||||||
CALL roundTripTest.bat -g70000000 -P70 7
|
CALL %ROUNDTRIPTEST% -g70000000 -P70 7
|
||||||
CALL roundTripTest.bat -g70000000 -P70 8
|
CALL %ROUNDTRIPTEST% -g70000000 -P70 8
|
||||||
CALL roundTripTest.bat -g70000000 -P70 9
|
CALL %ROUNDTRIPTEST% -g70000000 -P70 9
|
||||||
|
|
||||||
CALL roundTripTest.bat -g35000000 -P75 10
|
CALL %ROUNDTRIPTEST% -g35000000 -P75 10
|
||||||
CALL roundTripTest.bat -g35000000 -P75 11
|
CALL %ROUNDTRIPTEST% -g35000000 -P75 11
|
||||||
CALL roundTripTest.bat -g35000000 -P75 12
|
CALL %ROUNDTRIPTEST% -g35000000 -P75 12
|
||||||
|
|
||||||
CALL roundTripTest.bat -g18000000 -P80 13
|
CALL %ROUNDTRIPTEST% -g18000000 -P80 13
|
||||||
CALL roundTripTest.bat -g18000000 -P80 14
|
CALL %ROUNDTRIPTEST% -g18000000 -P80 14
|
||||||
CALL roundTripTest.bat -g18000000 -P80 15
|
CALL %ROUNDTRIPTEST% -g18000000 -P80 15
|
||||||
CALL roundTripTest.bat -g18000000 -P80 16
|
CALL %ROUNDTRIPTEST% -g18000000 -P80 16
|
||||||
CALL roundTripTest.bat -g18000000 -P80 17
|
CALL %ROUNDTRIPTEST% -g18000000 -P80 17
|
||||||
|
|
||||||
CALL roundTripTest.bat -g50000000 -P94 18
|
CALL %ROUNDTRIPTEST% -g50000000 -P94 18
|
||||||
CALL roundTripTest.bat -g50000000 -P94 19
|
CALL %ROUNDTRIPTEST% -g50000000 -P94 19
|
||||||
|
|
||||||
CALL roundTripTest.bat -g99000000 -P99 20
|
CALL %ROUNDTRIPTEST% -g99000000 -P99 20
|
||||||
CALL roundTripTest.bat -g6000000000 -P99 1
|
CALL %ROUNDTRIPTEST% -g6000000000 -P99 1
|
||||||
|
|
||||||
rm tmp*
|
rm tmp*
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
if [%3]==[] (SET C=%2 && SET P=) ELSE (SET C=%3 && SET P=%2)
|
if [%3]==[] (SET C=%2 && SET P=) ELSE (SET C=%3 && SET P=%2)
|
||||||
rm -f tmp1 tmp2
|
rm -f tmp1 tmp2
|
||||||
echo roundTripTest: datagen %1 %P% ^| %ZSTD% -v%C% ^| %ZSTD% -d
|
echo roundTripTest: datagen %1 %P% ^| %ZSTD% -v%C% ^| %ZSTD% -d
|
||||||
datagen %1 %P% | md5sum > tmp1
|
%DATAGEN% %1 %P% | md5sum > tmp1
|
||||||
datagen %1 %P% | %ZSTD% -vq%C% | %ZSTD% -d | md5sum > tmp2
|
%DATAGEN% %1 %P% | %ZSTD% -vq%C% | %ZSTD% -d | md5sum > tmp2
|
||||||
fc tmp1 tmp2
|
fc tmp1 tmp2
|
||||||
EXIT /B %ERRORLEVEL%
|
EXIT /B %ERRORLEVEL%
|
||||||
|
|||||||
@@ -0,0 +1,168 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{037E781E-81A6-494B-B1B3-438AB1200523}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>datagen</RootNamespace>
|
||||||
|
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||||
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||||
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||||
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
||||||
|
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||||
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(UniversalCRT_IncludePath);</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<TreatWarningAsError>true</TreatWarningAsError>
|
||||||
|
<EnablePREfast>false</EnablePREfast>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<TreatWarningAsError>true</TreatWarningAsError>
|
||||||
|
<EnablePREfast>false</EnablePREfast>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<EnablePREfast>false</EnablePREfast>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<TreatWarningAsError>false</TreatWarningAsError>
|
||||||
|
<EnablePREfast>false</EnablePREfast>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\programs\datagen.c" />
|
||||||
|
<ClCompile Include="..\..\..\programs\datagencli.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\..\programs\datagen.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\..\programs\datagen.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\programs\datagencli.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\..\programs\datagen.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -9,6 +9,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench", "fullbench\full
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zstdlib", "zstdlib\zstdlib.vcxproj", "{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zstdlib", "zstdlib\zstdlib.vcxproj", "{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "datagen", "datagen\datagen.vcxproj", "{037E781E-81A6-494B-B1B3-438AB1200523}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Win32 = Debug|Win32
|
Debug|Win32 = Debug|Win32
|
||||||
@@ -49,6 +51,14 @@ Global
|
|||||||
{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}.Release|Win32.Build.0 = Release|Win32
|
{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}.Release|Win32.Build.0 = Release|Win32
|
||||||
{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}.Release|x64.ActiveCfg = Release|x64
|
{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}.Release|x64.ActiveCfg = Release|x64
|
||||||
{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}.Release|x64.Build.0 = Release|x64
|
{8BFD8150-94D5-4BF9-8A50-7BD9929A0850}.Release|x64.Build.0 = Release|x64
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{037E781E-81A6-494B-B1B3-438AB1200523}.Release|x64.Build.0 = Release|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user