<?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>{7B56955D-5162-4698-AA5B-47484EDC8783}</ProjectGuid>
    <RootNamespace>universalchardet</RootNamespace>
  </PropertyGroup>

  <!-- Aegisub project configuration -->
  <PropertyGroup Label="AegisubConfiguration">
    <AegisubProjectType>lib</AegisubProjectType>
    <SrcDir>..\..\vendor\uchardet\src\</SrcDir>
  </PropertyGroup>

  <ImportGroup Label="PropertySheets">
    <Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
  </ImportGroup>

  <ItemDefinitionGroup>
    <ClCompile>
      <RuntimeTypeInfo>false</RuntimeTypeInfo>
      <ExceptionHandling>false</ExceptionHandling>
      <PreprocessorDefinitions>
        _CRT_NONSTDC_NO_DEPRECATE;
        %(PreprocessorDefinitions)
      </PreprocessorDefinitions>
    </ClCompile>
    <InstallHeader>
      <HeaderRoot>$(SrcDir)</HeaderRoot>
      <Destination>uchardet\</Destination>
    </InstallHeader>
  </ItemDefinitionGroup>

  <!-- Source files -->
  <ItemGroup>
    <InstallHeader Include="$(SrcDir)uchardet.h" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="$(SrcDir)CharDistribution.cpp" />
    <ClCompile Include="$(SrcDir)JpCntx.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangArabicModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangBulgarianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangCroatianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangCzechModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangDanishModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangEsperantoModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangEstonianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangFinnishModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangFrenchModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangGermanModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangGreekModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangHebrewModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangHungarianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangIrishModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangItalianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangLatvianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangLithuanianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangMalteseModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangPolishModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangPortugueseModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangRomanianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangRussianModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangSlovakModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangSloveneModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangSpanishModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangSwedishModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangThaiModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangTurkishModel.cpp" />
    <ClCompile Include="$(SrcDir)LangModels/LangVietnameseModel.cpp" />
    <ClCompile Include="$(SrcDir)nsBig5Prober.cpp" />
    <ClCompile Include="$(SrcDir)nsCharSetProber.cpp" />
    <ClCompile Include="$(SrcDir)nsEscCharsetProber.cpp" />
    <ClCompile Include="$(SrcDir)nsEscSM.cpp" />
    <ClCompile Include="$(SrcDir)nsEUCJPProber.cpp" />
    <ClCompile Include="$(SrcDir)nsEUCKRProber.cpp" />
    <ClCompile Include="$(SrcDir)nsEUCTWProber.cpp" />
    <ClCompile Include="$(SrcDir)nsGB2312Prober.cpp" />
    <ClCompile Include="$(SrcDir)nsHebrewProber.cpp" />
    <ClCompile Include="$(SrcDir)nsLatin1Prober.cpp" />
    <ClCompile Include="$(SrcDir)nsMBCSGroupProber.cpp" />
    <ClCompile Include="$(SrcDir)nsMBCSSM.cpp" />
    <ClCompile Include="$(SrcDir)nsSBCharSetProber.cpp" />
    <ClCompile Include="$(SrcDir)nsSBCSGroupProber.cpp" />
    <ClCompile Include="$(SrcDir)nsSJISProber.cpp" />
    <ClCompile Include="$(SrcDir)nsUniversalDetector.cpp" />
    <ClCompile Include="$(SrcDir)nsUTF8Prober.cpp" />
    <ClCompile Include="$(SrcDir)uchardet.cpp" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="$(SrcDir)Big5Freq.tab" />
    <ClInclude Include="$(SrcDir)CharDistribution.h" />
    <ClInclude Include="$(SrcDir)EUCKRFreq.tab" />
    <ClInclude Include="$(SrcDir)EUCTWFreq.tab" />
    <ClInclude Include="$(SrcDir)GB2312Freq.tab" />
    <ClInclude Include="$(SrcDir)JISFreq.tab" />
    <ClInclude Include="$(SrcDir)JpCntx.h" />
    <ClInclude Include="$(SrcDir)nsBig5Prober.h" />
    <ClInclude Include="$(SrcDir)nsCharSetProber.h" />
    <ClInclude Include="$(SrcDir)nsCodingStateMachine.h" />
    <ClInclude Include="$(SrcDir)nscore.h" />
    <ClInclude Include="$(SrcDir)nsEscCharsetProber.h" />
    <ClInclude Include="$(SrcDir)nsEUCJPProber.h" />
    <ClInclude Include="$(SrcDir)nsEUCKRProber.h" />
    <ClInclude Include="$(SrcDir)nsEUCTWProber.h" />
    <ClInclude Include="$(SrcDir)nsGB2312Prober.h" />
    <ClInclude Include="$(SrcDir)nsHebrewProber.h" />
    <ClInclude Include="$(SrcDir)nsLatin1Prober.h" />
    <ClInclude Include="$(SrcDir)nsMBCSGroupProber.h" />
    <ClInclude Include="$(SrcDir)nsPkgInt.h" />
    <ClInclude Include="$(SrcDir)nsSBCharSetProber.h" />
    <ClInclude Include="$(SrcDir)nsSBCSGroupProber.h" />
    <ClInclude Include="$(SrcDir)nsSJISProber.h" />
    <ClInclude Include="$(SrcDir)nsUniversalDetector.h" />
    <ClInclude Include="$(SrcDir)nsUTF8Prober.h" />
    <ClInclude Include="$(SrcDir)prmem.h" />
    <ClInclude Include="$(SrcDir)uchardet.h" />
  </ItemGroup>
</Project>
