Summary: Completes the transition to disabled legacy support by default across all build systems. This follows up on the previous Makefile and CMake changes to ensure consistent default behavior regardless of the build system used. Updated build configurations: Meson, tests/Makefile, Visual Studio 2008/2010 projects, and BUCK. Test Plan: Verified changes compile correctly via `make lib-release`. Build system configurations have been updated consistently across all platforms.
251 lines
14 KiB
XML
251 lines
14 KiB
XML
<?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>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\..\..\lib\common\pool.c" />
|
|
<ClCompile Include="..\..\..\lib\common\debug.c" />
|
|
<ClCompile Include="..\..\..\lib\common\threading.c" />
|
|
<ClCompile Include="..\..\..\lib\common\entropy_common.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\hist.c" />
|
|
<ClCompile Include="..\..\..\lib\common\error_private.c" />
|
|
<ClCompile Include="..\..\..\lib\common\xxhash.c" />
|
|
<ClCompile Include="..\..\..\lib\common\zstd_common.c" />
|
|
<ClCompile Include="..\..\..\lib\common\fse_decompress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\fse_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\huf_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_compress_literals.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_compress_sequences.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_compress_superblock.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_preSplit.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_fast.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_double_fast.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_lazy.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_opt.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstd_ldm.c" />
|
|
<ClCompile Include="..\..\..\lib\compress\zstdmt_compress.c" />
|
|
<ClCompile Include="..\..\..\lib\decompress\huf_decompress.c" />
|
|
<ClCompile Include="..\..\..\lib\decompress\zstd_decompress.c" />
|
|
<ClCompile Include="..\..\..\lib\decompress\zstd_decompress_block.c" />
|
|
<ClCompile Include="..\..\..\lib\decompress\zstd_ddict.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\cover.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\fastcover.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\divsufsort.c" />
|
|
<ClCompile Include="..\..\..\lib\dictBuilder\zdict.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v01.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v02.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v03.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v04.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v05.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v06.c" />
|
|
<ClCompile Include="..\..\..\lib\legacy\zstd_v07.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\..\..\lib\common\pool.h" />
|
|
<ClInclude Include="..\..\..\lib\common\threading.h" />
|
|
<ClInclude Include="..\..\..\lib\common\bitstream.h" />
|
|
<ClInclude Include="..\..\..\lib\common\error_private.h" />
|
|
<ClInclude Include="..\..\..\lib\zstd_errors.h" />
|
|
<ClInclude Include="..\..\..\lib\common\mem.h" />
|
|
<ClInclude Include="..\..\..\lib\common\fse.h" />
|
|
<ClInclude Include="..\..\..\lib\common\huf.h" />
|
|
<ClInclude Include="..\..\..\lib\common\xxhash.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_legacy.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v01.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v02.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v03.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v04.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v05.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v06.h" />
|
|
<ClInclude Include="..\..\..\lib\legacy\zstd_v07.h" />
|
|
<ClInclude Include="..\..\..\lib\zstd.h" />
|
|
<ClInclude Include="..\..\..\lib\common\zstd_internal.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_compress.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_compress_literals.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_compress_sequences.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_cwksp.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_compress_superblock.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_fast.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_double_fast.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_lazy.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_opt.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstd_ldm.h" />
|
|
<ClInclude Include="..\..\..\lib\compress\zstdmt_compress.h" />
|
|
<ClInclude Include="..\..\..\lib\decompress\zstd_ddict.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ResourceCompile Include="libzstd-dll.rc" />
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{00000000-94D5-4BF9-8A50-7BD9929A0850}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<RootNamespace>libzstd-dll</RootNamespace>
|
|
<OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
|
|
<IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</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>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>libzstd</TargetName>
|
|
<IncludePath>$(IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs\legacy;$(SolutionDir)..\..\lib\legacy;$(SolutionDir)..\..\lib\common;$(SolutionDir)..\..\lib\dictBuilder;$(UniversalCRT_IncludePath);</IncludePath>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=0;WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=0;WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<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>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=0;WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>ZSTD_DLL_EXPORT=1;ZSTD_MULTITHREAD=1;ZSTD_LEGACY_SUPPORT=0;WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<TreatWarningAsError>false</TreatWarningAsError>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<OmitFramePointers>true</OmitFramePointers>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project>
|