<?xml version="1.0" encoding="utf-8"?>

<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <ItemGroup Label="ProjectConfigurations">

    <ProjectConfiguration Include="Debug|Win32">

      <Configuration>Debug</Configuration>

      <Platform>Win32</Platform>

    </ProjectConfiguration>

    <ProjectConfiguration Include="Release|Win32">

      <Configuration>Release</Configuration>

      <Platform>Win32</Platform>

    </ProjectConfiguration>

  </ItemGroup>

  <PropertyGroup Label="Globals">

    <ProjectGuid>{93F4BC8E-0CD9-4E01-84AE-6DBE755E3D4C}</ProjectGuid>

    <RootNamespace>emailrelay</RootNamespace>

    <Keyword>Win32Proj</Keyword>

  </PropertyGroup>

  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

    <ConfigurationType>Application</ConfigurationType>

    <PlatformToolset>v110</PlatformToolset>

    <CharacterSet>NotSet</CharacterSet>

    <WholeProgramOptimization>true</WholeProgramOptimization>

  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">

    <ConfigurationType>Application</ConfigurationType>

    <PlatformToolset>v110</PlatformToolset>

    <CharacterSet>NotSet</CharacterSet>

  </PropertyGroup>

  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

  <ImportGroup Label="ExtensionSettings">

  </ImportGroup>

  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">

    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />

  </ImportGroup>

  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">

    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />

  </ImportGroup>

  <PropertyGroup Label="UserMacros" />

  <PropertyGroup>

    <_ProjectFileVersion>11.0.50727.1</_ProjectFileVersion>

  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">

    <OutDir>$(SolutionDir)$(Configuration)\</OutDir>

    <IntDir>$(Configuration)\$(ProjectName)\</IntDir>

    <LinkIncremental>true</LinkIncremental>

  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

    <OutDir>$(SolutionDir)$(Configuration)\</OutDir>

    <IntDir>$(Configuration)\$(ProjectName)\</IntDir>

    <LinkIncremental>false</LinkIncremental>

  </PropertyGroup>

  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">

    <ClCompile>

      <Optimization>Disabled</Optimization>

      <AdditionalIncludeDirectories>glib;gssl;gnet;gauth;gpop;gsmtp;win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

      <PreprocessorDefinitions>WIN32;_DEBUG;G_WIN32=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>

      <MinimalRebuild>true</MinimalRebuild>

      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>

      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>

      <PrecompiledHeader />

      <WarningLevel>Level3</WarningLevel>

      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>

    </ClCompile>

    <Link>

      <AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>

      <GenerateDebugInformation>true</GenerateDebugInformation>

      <SubSystem>Windows</SubSystem>

      <TargetMachine>MachineX86</TargetMachine>

    </Link>

  </ItemDefinitionGroup>

  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

    <ClCompile>

      <Optimization>MaxSpeed</Optimization>

      <IntrinsicFunctions>true</IntrinsicFunctions>

      <AdditionalIncludeDirectories>glib;gssl;gnet;gauth;gpop;gsmtp;win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

      <PreprocessorDefinitions>WIN32;NDEBUG;G_WIN32=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>

      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>

      <FunctionLevelLinking>true</FunctionLevelLinking>

      <PrecompiledHeader />

      <WarningLevel>Level3</WarningLevel>

      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>

    </ClCompile>

    <Link>

      <AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>

      <GenerateDebugInformation>true</GenerateDebugInformation>

      <SubSystem>Windows</SubSystem>

      <OptimizeReferences>true</OptimizeReferences>

      <EnableCOMDATFolding>true</EnableCOMDATFolding>

      <TargetMachine>MachineX86</TargetMachine>

    </Link>

  </ItemDefinitionGroup>

  <ItemGroup>

    <ClCompile Include="main\admin_enabled.cpp" />

    <ClCompile Include="main\commandline_full.cpp" />

    <ClCompile Include="main\configuration.cpp" />

    <ClCompile Include="main\legal.cpp" />

    <ClCompile Include="main\news.cpp" />

    <ClCompile Include="main\output.cpp" />

    <ClCompile Include="main\run.cpp" />

    <ClCompile Include="main\winapp.cpp" />

    <ClCompile Include="main\winform.cpp" />

    <ClCompile Include="main\winmain.cpp" />

    <ClCompile Include="main\winmenu.cpp" />

  </ItemGroup>

  <ItemGroup>

    <ResourceCompile Include="main\emailrelay.rc" />

  </ItemGroup>

  <ItemGroup>

    <Image Include="main\icon1.ico" />

    <Image Include="main\icon2.ico" />

    <Image Include="main\icon3.ico" />

    <Image Include="main\icon4.ico" />

    <Image Include="main\icon5.ico" />

  </ItemGroup>

  <ItemGroup>

    <CustomBuild Include="main\messages.mc">

      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(OutDir)fakemc.exe" %(FullPath)

</Command>

      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">messages.rc;MSG00001.bin;%(Outputs)</Outputs>

      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(OutDir)fakemc.exe" %(FullPath)

</Command>

      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">messages.rc;MSG00001.bin;%(Outputs)</Outputs>

    </CustomBuild>

  </ItemGroup>

  <ItemGroup>

    <ProjectReference Include="emailrelay-lib.vcxproj">

      <Project>{59c79c43-d2ff-4d0c-9ec8-a4a6b3118fa9}</Project>

      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>

    </ProjectReference>

    <ProjectReference Include="fakemc.vcxproj">

      <Project>{23c99fc4-dc1f-4fed-bb84-e564c210f49d}</Project>

      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>

    </ProjectReference>

  </ItemGroup>

  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

  <ImportGroup Label="ExtensionTargets">

  </ImportGroup>

</Project>
