<?xml version="1.0" encoding="utf-8"?>
    <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

      <ItemDefinitionGroup>
        <ClCompile>
          <PreprocessorDefinitions>ME_DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
          <AdditionalIncludeDirectories>$(IncDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
          <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
          <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
          <SubSystem>Console</SubSystem>
    </Link>
      </ItemDefinitionGroup>

      <PropertyGroup Label="Globals">
        <ProjectGuid>{462db80e-129c-4147-a0dc-405a246b0b6a}</ProjectGuid>
        <RootNamespace />
        <Keyword>Win32Proj</Keyword>
      </PropertyGroup>

      <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>
    <ProjectConfiguration Include="Debug|x64">
          <Configuration>Debug</Configuration>
          <Platform>x64</Platform>
        </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
          <Configuration>Release</Configuration>
          <Platform>x64</Platform>
        </ProjectConfiguration>
  </ItemGroup>
    
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <CharacterSet>NotSet</CharacterSet>
        <PlatformToolset>v120</PlatformToolset>
      </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <CharacterSet>NotSet</CharacterSet>
        <PlatformToolset>v120</PlatformToolset>
      </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <CharacterSet>NotSet</CharacterSet>
        <PlatformToolset>v120</PlatformToolset>
      </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <CharacterSet>NotSet</CharacterSet>
        <PlatformToolset>v120</PlatformToolset>
      </PropertyGroup>

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

      <ImportGroup Label="PropertySheets" />
      <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
        <Import Project="product.props" />
        <Import Project="debug.props" />
        <Import Project="x86.props" />
      </ImportGroup>
      <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
        <Import Project="product.props" />
        <Import Project="release.props" />
        <Import Project="x86.props" />
      </ImportGroup>
      <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
        <Import Project="product.props" />
        <Import Project="debug.props" />
        <Import Project="x64.props" />
      </ImportGroup>
      <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
        <Import Project="product.props" />
        <Import Project="release.props" />
        <Import Project="x64.props" />
      </ImportGroup>

      <PropertyGroup>
        <_ProjectFileVersion>10</_ProjectFileVersion>

        <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(BinDir)\</OutDir>
        <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ObjDir)\goahead\</IntDir>
        <CustomBuildBeforeTargets Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">PreBuildEvent</CustomBuildBeforeTargets>

        <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(BinDir)\</OutDir>
        <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ObjDir)\goahead\</IntDir>
        <CustomBuildBeforeTargets Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">PreBuildEvent</CustomBuildBeforeTargets>

        <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(BinDir)\</OutDir>
        <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ObjDir)\goahead\</IntDir>
        <CustomBuildBeforeTargets Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">PreBuildEvent</CustomBuildBeforeTargets>

        <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(BinDir)\</OutDir>
        <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ObjDir)\goahead\</IntDir>
        <CustomBuildBeforeTargets Condition="'$(Configuration)|$(Platform)'=='Release|x64'">PreBuildEvent</CustomBuildBeforeTargets>
  </PropertyGroup>
  
      <ItemGroup>
    <ClCompile Include="..\..\src\goahead.c" />
  </ItemGroup>

      <ItemGroup>
    <ClInclude Include="$(IncDir)\goahead.h" />
  </ItemGroup>

      <ItemGroup>
    <ClInclude Include="$(IncDir)\js.h" />
  </ItemGroup>

      <ItemDefinitionGroup>
        

      <Link>
        <AdditionalDependencies>libgo.lib;%(AdditionalDependencies)</AdditionalDependencies>
        <AdditionalLibraryDirectories>$(OutDir);build\$(Cfg)\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      </Link>

      <CustomBuildStep>
        <Command>cd ..\..
copy /Y /B src\goahead.h $(IncDir)
copy /Y /B src\js.h $(IncDir)
cd projects\goahead-windows-static</Command>
        <Outputs>$(BinDir)\goahead.exe</Outputs>
      </CustomBuildStep>
  </ItemDefinitionGroup>

    <ItemGroup>
      <ProjectReference Include="libgo.vcxproj">
      <Project>2c29bee3-a1d1-494b-b20d-cd1dac24543f</Project>
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
      </ProjectReference>
    </ItemGroup>

  <Import Project="$(VCTargetsPath)Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>

</Project>
