<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.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 -->
  <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>
    <InstallHeader>
      <HeaderRoot>$(Freetype2SrcDir)\include</HeaderRoot>
    </InstallHeader>
  </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\ftfntfmt.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\config\ftconfig.h" />
    <ClInclude Include="$(Freetype2SrcDir)\include\config\ftheader.h" />
    <ClInclude Include="$(Freetype2SrcDir)\include\config\ftmodule.h" />
    <ClInclude Include="$(Freetype2SrcDir)\include\config\ftoption.h" />
    <ClInclude Include="$(Freetype2SrcDir)\include\config\ftstdlib.h" />
  </ItemGroup>
</Project>
