mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 08:33:53 +00:00
Increasing the max codebook size to 16K vs. 8K, for a major increase in the max achievable quality. Adding exception catching to command line tool. Enabling debug iterators on MSVC. Refining command line options, adding "-individual" flag to create multiple .basis files (vs. a texture array). Changing default colorspace to sRGB, because that's probably the best default. -linear disables this and uses linear colorspace metrics. PNG reader in 32-bit builds checks the size of the file before loading to avoid out of memory exceptions.
197 lines
9.1 KiB
XML
197 lines
9.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="15.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="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{59586A07-8E7E-411D-BC3D-387E039AA423}</ProjectGuid>
|
|
<RootNamespace>basisu</RootNamespace>
|
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="Shared">
|
|
</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 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 Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<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|x64'">
|
|
<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)'=='Release|x64'">
|
|
<OutDir>$(SolutionDir)\bin</OutDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<OutDir>$(SolutionDir)\bin</OutDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<OutDir>$(SolutionDir)\bin</OutDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<OutDir>$(SolutionDir)\bin</OutDir>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<SDLCheck>true</SDLCheck>
|
|
<OpenMPSupport>true</OpenMPSupport>
|
|
<AdditionalIncludeDirectories>
|
|
</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<SDLCheck>true</SDLCheck>
|
|
<OpenMPSupport>true</OpenMPSupport>
|
|
<AdditionalIncludeDirectories>
|
|
</AdditionalIncludeDirectories>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<SDLCheck>true</SDLCheck>
|
|
<OpenMPSupport>true</OpenMPSupport>
|
|
<AdditionalIncludeDirectories>
|
|
</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>NDEBUG;_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
</ClCompile>
|
|
<Link>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<SubSystem>Console</SubSystem>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<SDLCheck>true</SDLCheck>
|
|
<OpenMPSupport>true</OpenMPSupport>
|
|
<AdditionalIncludeDirectories>
|
|
</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>NDEBUG;_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
</ClCompile>
|
|
<Link>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<SubSystem>Console</SubSystem>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="basisu_ssim.cpp" />
|
|
<ClCompile Include="transcoder\basisu_transcoder.cpp" />
|
|
<ClInclude Include="basisu_basis_file.h" />
|
|
<ClInclude Include="basisu_comp.h" />
|
|
<ClInclude Include="basisu_enc.h" />
|
|
<ClInclude Include="basisu_etc.h" />
|
|
<ClInclude Include="basisu_gpu_texture.h" />
|
|
<ClInclude Include="basisu_backend.h" />
|
|
<ClInclude Include="basisu_frontend.h" />
|
|
<ClInclude Include="basisu_pvrtc1_4.h" />
|
|
<ClInclude Include="basisu_global_selector_palette_helpers.h" />
|
|
<ClInclude Include="basisu_resampler.h" />
|
|
<ClInclude Include="basisu_resampler_filters.h" />
|
|
<ClCompile Include="basisu_resampler.cpp" />
|
|
<ClCompile Include="basisu_resample_filters.cpp" />
|
|
<ClInclude Include="basisu_ssim.h" />
|
|
<ClInclude Include="lodepng.h" />
|
|
<ClInclude Include="transcoder\basisu.h" />
|
|
<ClInclude Include="transcoder\basisu_transcoder.h" />
|
|
<ClInclude Include="transcoder\basisu_transcoder_internal.h" />
|
|
<ClInclude Include="transcoder\basisu_file_headers.h" />
|
|
<ClInclude Include="transcoder\basisu_global_selector_cb.h" />
|
|
<ClInclude Include="transcoder\basisu_global_selector_palette.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="basisu_basis_file.cpp" />
|
|
<ClCompile Include="basisu_comp.cpp" />
|
|
<ClCompile Include="basisu_enc.cpp" />
|
|
<ClCompile Include="basisu_etc.cpp" />
|
|
<ClCompile Include="basisu_backend.cpp" />
|
|
<ClCompile Include="basisu_frontend.cpp" />
|
|
<ClCompile Include="basisu_pvrtc1_4.cpp" />
|
|
<ClCompile Include="basisu_global_selector_palette_helpers.cpp" />
|
|
<ClCompile Include="basisu_gpu_texture.cpp" />
|
|
<ClCompile Include="lodepng.cpp" />
|
|
<ClCompile Include="basisu_tool.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="transcoder\basisu_transcoder_tables_bc7_m6.inc" />
|
|
<None Include="transcoder\basisu_transcoder_tables_dxt1_5.inc" />
|
|
<None Include="transcoder\basisu_transcoder_tables_dxt1_6.inc" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |