﻿<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="Current">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|x64">
      <Configuration>Debug</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="InitialProjectSettings">
    <ConfigurationType>StaticLibrary</ConfigurationType>
    <ProjectName>yekneb</ProjectName>
    <SolutionDir Condition="'$(BuildingInsideVisualStudio)'!='true'">$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'yekneb.sln'))\</SolutionDir>
  </PropertyGroup>
  <Import Project="..\PropertySheets\Globals.props" />
  <PropertyGroup Label="Globals">
    <ProjectGuid>{B2692EA6-235A-4AA7-9C9C-596926A6B8BC}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <BuildIncludeDirectory>$(SolutionDir)build\include</BuildIncludeDirectory>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" Condition="exists('$(VCTargetsPath)\Microsoft.Cpp.Default.props')" />
  <PropertyGroup Label="Configuration">
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" Condition="exists('$(VCTargetsPath)\Microsoft.Cpp.props')" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    <Import Project="..\PropertySheets\yekneb.props" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <Lib>
      <AdditionalOptions>/ignore:4221</AdditionalOptions>
    </Lib>
    <Link>
      <SubSystem>Windows</SubSystem>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    <ClCompile>
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <Lib>
      <AdditionalOptions>/ignore:4221</AdditionalOptions>
    </Lib>
    <Link>
      <SubSystem>Windows</SubSystem>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <Lib>
      <AdditionalOptions>/ignore:4221</AdditionalOptions>
    </Lib>
    <Link>
      <SubSystem>Windows</SubSystem>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <ClCompile>
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <Lib>
      <AdditionalOptions>/ignore:4221</AdditionalOptions>
    </Lib>
    <Link>
      <SubSystem>Windows</SubSystem>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="boost\ExpandVars.cpp">
      <ObjectFileName>$(IntDir)boost\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExecutablePathBSDDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExecutablePathLinuxDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExecutablePathMacintoshDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExecutablePathSolarisDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExecutablePathWindowsDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExpandVarsDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExpandVarsLinuxDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExpandVarsMacintoshDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExpandVarsPOSIXDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\ExpandVarsWindowsDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\FileLocatorCommonDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\FileLocatorPOSIXDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\FileLocatorWindowsDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\yekneb_os_POSIXDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\yekneb_os_WindowsDetail.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="detail\yekneb_os_WindowsSupport.cpp">
      <ObjectFileName>$(IntDir)detail\</ObjectFileName>
    </ClCompile>
    <ClCompile Include="CharacterType.cpp" />
    <ClCompile Include="CmdLineToArgv.cpp" />
    <ClCompile Include="ExecutablePath.cpp" />
    <ClCompile Include="existsx.cpp" />
    <ClCompile Include="ExpandVars.cpp" />
    <ClCompile Include="FileLocator.cpp" />
    <ClCompile Include="fopenx.cpp" />
    <ClCompile Include="yekneb_os.cpp" />
    <ClCompile Include="yekneb_utility.cpp" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\build\include\yekneb_config.h" />
    <ClInclude Include="..\include\boost\ExpandVars.h" />
    <ClInclude Include="..\include\CharacterType.h" />
    <ClInclude Include="..\include\CLANG_diagnostic_macros.h" />
    <ClInclude Include="..\include\CmdLineToArgv.h" />
    <ClInclude Include="..\include\ConstantOfType.h" />
    <ClInclude Include="..\include\countof.h" />
    <ClInclude Include="..\include\detail\ExecutablePathDetail.h" />
    <ClInclude Include="..\include\detail\ExpandVarsDetail.h" />
    <ClInclude Include="..\include\detail\FileLocatorDetail.h" />
    <ClInclude Include="..\include\detail\KnownFolderStrings.h" />
    <ClInclude Include="..\include\detail\w32templates.h" />
    <ClInclude Include="..\include\detail\WindowsInstallerDirectoryPropertyStrings.h" />
    <ClInclude Include="..\include\detail\yekneb_os_Detail.h" />
    <ClInclude Include="..\include\detail\yekneb_string_Detail.h" />
    <ClInclude Include="..\include\ExecutablePath.h" />
    <ClInclude Include="..\include\existsx.h" />
    <ClInclude Include="..\include\ExpandVars.h" />
    <ClInclude Include="..\include\FileLocator.h" />
    <ClInclude Include="..\include\fopenx.h" />
    <ClInclude Include="..\include\GCC_diagnostic_macros.h" />
    <ClInclude Include="..\include\MaybeUnused.h" />
    <ClInclude Include="..\include\MSVC_warning_macros.h" />
    <ClInclude Include="..\include\RangedNumber.h" />
    <ClInclude Include="..\include\StringCast.h" />
    <ClInclude Include="..\include\warning_macros.h" />
    <ClInclude Include="..\include\widen.h" />
    <ClInclude Include="..\include\yekneb_bit_operations.h" />
    <ClInclude Include="..\include\yekneb_flags.h" />
    <ClInclude Include="..\include\yekneb_os.h" />
    <ClInclude Include="..\include\yekneb_string.h" />
    <ClInclude Include="..\include\yekneb_utility.h" />
    <ClInclude Include="detail\yekneb_os_WindowsSupport.h" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" Condition="exists('$(VCTargetsPath)\Microsoft.Cpp.targets')" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
  <PropertyGroup>
    <BuildDependsOn>
      MyBeforeBuild;
      $(BuildDependsOn);
    </BuildDependsOn>
  </PropertyGroup>
  <Target Name="MyBeforeBuild">
    <Message Text="Copying '$(SolutionDir)include\$(ProjectName)_config.h.vc' to '$(BuildIncludeDirectory)\$(ProjectName)_config.h'." Importance="high" />
    <MakeDir Directories="$(BuildIncludeDirectory)" Condition="!Exists('$(BuildIncludeDirectory)')" />
    <Copy SourceFiles="$(SolutionDir)include\$(ProjectName)_config.h.vc" DestinationFiles="$(BuildIncludeDirectory)\$(ProjectName)_config.h" SkipUnchangedFiles="true" />
  </Target>
</Project>