forked from mia/Aegisub
b8f20dfe49
Freetype expects its IO to perform like mmap (i.e. seeking to be free), but the non-unix implementation uses fseek and fread. This implementation simply reads the entire file into a buffer, as fonts generally aren't very big. Cuts the time to recreate the fontconfig cache on my machine by about 60%.
86 lines
4.4 KiB
XML
86 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}</ProjectGuid>
|
|
<RootNamespace>freetype</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<!-- Project configuration -->
|
|
<PropertyGroup Label="AegisubConfiguration">
|
|
<AegisubProjectType>lib</AegisubProjectType>
|
|
</PropertyGroup>
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
|
|
</ImportGroup>
|
|
|
|
<!-- Project specific configuration -->
|
|
<PropertyGroup>
|
|
<HeaderRoot>$(Freetype2SrcDir)\include</HeaderRoot>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(Freetype2SrcDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>_LIB;_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<StringPooling>true</StringPooling>
|
|
<DisableLanguageExtensions>true</DisableLanguageExtensions>
|
|
<DisableSpecificWarnings>4001</DisableSpecificWarnings>
|
|
</ClCompile>
|
|
<ResourceCompile>
|
|
<Culture>0x0409</Culture>
|
|
</ResourceCompile>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- Source files -->
|
|
<ItemGroup>
|
|
<InstallHeader Include="$(Freetype2SrcDir)\include\**\*.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="$(MSBuildThisFileDirectory)ftsystem.cpp" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\autofit\autofit.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftbase.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftbbox.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftbitmap.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftfstype.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftgasp.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftglyph.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftgxval.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftinit.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftlcdfil.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftmm.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftotval.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftpatent.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftpfr.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftstroke.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftsynth.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\fttype1.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftwinfnt.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\base\ftxf86.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\bdf\bdf.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\cache\ftcache.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\cff\cff.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\cid\type1cid.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\gzip\ftgzip.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\lzw\ftlzw.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\pcf\pcf.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\pfr\pfr.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\psaux\psaux.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\pshinter\pshinter.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\psnames\psmodule.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\raster\raster.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\sfnt\sfnt.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\smooth\smooth.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\truetype\truetype.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\type1\type1.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\type42\type42.c" />
|
|
<ClCompile Include="$(Freetype2SrcDir)\src\winfonts\winfnt.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="$(Freetype2SrcDir)\include\ft2build.h" />
|
|
<ClInclude Include="$(Freetype2SrcDir)\include\freetype\config\ftconfig.h" />
|
|
<ClInclude Include="$(Freetype2SrcDir)\include\freetype\config\ftheader.h" />
|
|
<ClInclude Include="$(Freetype2SrcDir)\include\freetype\config\ftmodule.h" />
|
|
<ClInclude Include="$(Freetype2SrcDir)\include\freetype\config\ftoption.h" />
|
|
<ClInclude Include="$(Freetype2SrcDir)\include\freetype\config\ftstdlib.h" />
|
|
</ItemGroup>
|
|
</Project>
|