<?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>{5CABCBEF-E79A-4D27-94A5-CF4EAAF1DD96}</ProjectGuid>
    <RootNamespace>libpng</RootNamespace>
  </PropertyGroup>

  <!-- Aegisub project configuration -->
  <PropertyGroup Label="AegisubConfiguration">
    <AegisubProjectType>lib</AegisubProjectType>
    <SrcDir>..\..\vendor\wxWidgets\src\png\</SrcDir>
  </PropertyGroup>
  <ImportGroup Label="PropertySheets">
    <Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
  </ImportGroup>

  <!-- Project References -->
  <ItemGroup>
    <ProjectReference Include="..\zlib\zlib.vcxproj">
      <Project>{10f22a5a-dd9e-44a1-ba2e-2a9a7c78b0ee}</Project>
    </ProjectReference>
  </ItemGroup>
  
  <ItemDefinitionGroup>
    <InstallHeader>
      <HeaderRoot>$(SrcDir)</HeaderRoot>
    </InstallHeader>
  </ItemDefinitionGroup>

  <!-- Source files -->
  <ItemGroup>
    <InstallHeader Include="$(SrcDir)\png.h" />
    <InstallHeader Include="$(SrcDir)\pngconf.h" />
    <InstallHeader Include="$(SrcDir)\pnglibconf.h" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="$(SrcDir)\png.h" />
    <ClInclude Include="$(SrcDir)\pngconf.h" />
    <ClInclude Include="$(SrcDir)\pngdebug.h" />
    <ClInclude Include="$(SrcDir)\pnginfo.h" />
    <ClInclude Include="$(SrcDir)\pnglibconf.h" />
    <ClInclude Include="$(SrcDir)\pngprefix.h" />
    <ClInclude Include="$(SrcDir)\pngpriv.h" />
    <ClInclude Include="$(SrcDir)\pngstruct.h" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="$(SrcDir)\png.c" />
    <ClCompile Include="$(SrcDir)\pngerror.c" />
    <ClCompile Include="$(SrcDir)\pngget.c" />
    <ClCompile Include="$(SrcDir)\pngmem.c" />
    <ClCompile Include="$(SrcDir)\pngpread.c" />
    <ClCompile Include="$(SrcDir)\pngread.c" />
    <ClCompile Include="$(SrcDir)\pngrio.c" />
    <ClCompile Include="$(SrcDir)\pngrtran.c" />
    <ClCompile Include="$(SrcDir)\pngrutil.c" />
    <ClCompile Include="$(SrcDir)\pngset.c" />
    <ClCompile Include="$(SrcDir)\pngtest.c" />
    <ClCompile Include="$(SrcDir)\pngtrans.c" />
    <ClCompile Include="$(SrcDir)\pngwio.c" />
    <ClCompile Include="$(SrcDir)\pngwrite.c" />
    <ClCompile Include="$(SrcDir)\pngwtran.c" />
    <ClCompile Include="$(SrcDir)\pngwutil.c" />
  </ItemGroup>
</Project>
