<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.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>{D356871D-58E1-450B-967A-E6E9646175AF}</ProjectGuid>
    <RootNamespace>map-server</RootNamespace>
    <Keyword>Win32Proj</Keyword>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <PlatformToolset>v140</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v140</PlatformToolset>
  </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" />
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
  </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>10.0.30319.1</_ProjectFileVersion>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">map-server</TargetName>
    <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">map-server</TargetName>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <AdditionalIncludeDirectories>..\src;..\3rdparty;..\3rdparty\mariadb\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <PreprocessToFile>false</PreprocessToFile>
      <PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
      <ExceptionHandling>
      </ExceptionHandling>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <AdditionalOptions>
      </AdditionalOptions>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
      <CompileAs>CompileAsC</CompileAs>
      <DisableSpecificWarnings>4018;4100;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
    </ClCompile>
    <Link>
      <AdditionalDependencies>libcmtd.lib;oldnames.lib;ws2_32.lib;libmariadb.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
      <AdditionalLibraryDirectories>..\3rdparty\mariadb\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
      <SubSystem>Console</SubSystem>
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
      <DataExecutionPrevention>
      </DataExecutionPrevention>
      <TargetMachine>MachineX86</TargetMachine>
      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <Optimization>MaxSpeed</Optimization>
      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
      <OmitFramePointers>true</OmitFramePointers>
      <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
      <WholeProgramOptimization>true</WholeProgramOptimization>
      <AdditionalIncludeDirectories>..\src;..\3rdparty;..\3rdparty\mariadb\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <StringPooling>true</StringPooling>
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
      <AdditionalOptions>
      </AdditionalOptions>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <WarningLevel>Level3</WarningLevel>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
      <CompileAs>CompileAsC</CompileAs>
      <DisableSpecificWarnings>4018;4100;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
    </ClCompile>
    <Link>
      <AdditionalDependencies>libcmt.lib;oldnames.lib;ws2_32.lib;libmariadb.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
      <AdditionalLibraryDirectories>..\3rdparty\mariadb\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
      <SubSystem>Console</SubSystem>
      <OptimizeReferences>true</OptimizeReferences>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
      <DataExecutionPrevention>
      </DataExecutionPrevention>
      <TargetMachine>MachineX86</TargetMachine>
      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClInclude Include="..\3rdparty\libconfig\grammar.h" />
    <ClInclude Include="..\3rdparty\libconfig\libconfig.h" />
    <ClInclude Include="..\3rdparty\libconfig\parsectx.h" />
    <ClInclude Include="..\3rdparty\libconfig\scanctx.h" />
    <ClInclude Include="..\3rdparty\libconfig\scanner.h" />
    <ClInclude Include="..\3rdparty\libconfig\strbuf.h" />
    <ClInclude Include="..\3rdparty\libconfig\wincompat.h" />
    <ClInclude Include="..\3rdparty\mt19937ar\mt19937ar.h" />
    <ClInclude Include="..\src\common\atomic.h" />
    <ClInclude Include="..\src\common\cbasetypes.h" />
    <ClInclude Include="..\src\common\conf.h" />
    <ClInclude Include="..\src\common\core.h" />
    <ClInclude Include="..\src\common\console.h" />
    <ClInclude Include="..\src\common\db.h" />
    <ClInclude Include="..\src\common\des.h" />
    <ClInclude Include="..\src\common\ers.h" />
    <ClInclude Include="..\src\common\grfio.h" />
    <ClInclude Include="..\src\common\hercules.h" />
    <ClInclude Include="..\src\common\HPM.h" />
    <ClInclude Include="..\src\common\HPMDataCheck.h" />
    <ClInclude Include="..\src\common\HPMi.h" />
    <ClInclude Include="..\src\common\HPMSymbols.inc.h" />
    <ClInclude Include="..\src\common\memmgr.h" />
    <ClInclude Include="..\src\common\mapindex.h" />
    <ClInclude Include="..\src\common\md5calc.h" />
    <ClInclude Include="..\src\common\mmo.h" />
    <ClInclude Include="..\src\common\mutex.h" />
    <ClInclude Include="..\src\common\nullpo.h" />
    <ClInclude Include="..\src\common\random.h" />
    <ClInclude Include="..\src\common\showmsg.h" />
    <ClInclude Include="..\src\common\socket.h" />
    <ClInclude Include="..\src\common\spinlock.h" />
    <ClInclude Include="..\src\common\sql.h" />
    <ClInclude Include="..\src\common\strlib.h" />
    <ClInclude Include="..\src\common\sysinfo.h" />
    <ClInclude Include="..\src\common\thread.h" />
    <ClInclude Include="..\src\common\timer.h" />
    <ClInclude Include="..\src\common\utils.h" />
    <ClInclude Include="..\src\common\winapi.h" />
    <ClInclude Include="..\src\map\achievement.h" />
    <ClInclude Include="..\src\map\atcommand.h" />
    <ClInclude Include="..\src\map\battle.h" />
    <ClInclude Include="..\src\map\battleground.h" />
    <ClInclude Include="..\src\map\buyingstore.h" />
    <ClInclude Include="..\src\map\channel.h" />
    <ClInclude Include="..\src\map\chat.h" />
    <ClInclude Include="..\src\map\chrif.h" />
    <ClInclude Include="..\src\map\clan.h" />
    <ClInclude Include="..\src\map\clif.h" />
    <ClInclude Include="..\src\map\date.h" />
    <ClInclude Include="..\src\map\duel.h" />
    <ClInclude Include="..\src\map\elemental.h" />
    <ClInclude Include="..\src\map\guild.h" />
    <ClInclude Include="..\src\map\intif.h" />
    <ClInclude Include="..\src\map\irc-bot.h" />
    <ClInclude Include="..\src\map\itemdb.h" />
    <ClInclude Include="..\src\map\log.h" />
    <ClInclude Include="..\src\map\mail.h" />
    <ClInclude Include="..\src\map\map.h" />
    <ClInclude Include="..\src\map\mapreg.h" />
    <ClInclude Include="..\src\map\homunculus.h" />
    <ClInclude Include="..\src\map\HPMmap.h" />
    <ClInclude Include="..\src\map\instance.h" />
    <ClInclude Include="..\src\map\mercenary.h" />
    <ClInclude Include="..\src\map\mob.h" />
    <ClInclude Include="..\src\map\npc.h" />
    <ClInclude Include="..\src\map\packets.h" />
    <ClInclude Include="..\src\map\packets_keys_main.h" />
    <ClInclude Include="..\src\map\packets_keys_zero.h" />
    <ClInclude Include="..\src\map\packets_shuffle_main.h" />
    <ClInclude Include="..\src\map\packets_shuffle_zero.h" />
    <ClInclude Include="..\src\map\packets_struct.h" />
    <ClInclude Include="..\src\map\party.h" />
    <ClInclude Include="..\src\map\path.h" />
    <ClInclude Include="..\src\map\pc.h" />
    <ClInclude Include="..\src\map\pc_groups.h" />
    <ClInclude Include="..\src\map\pet.h" />
    <ClInclude Include="..\src\map\quest.h" />
    <ClInclude Include="..\src\config\const.h" />
    <ClInclude Include="..\src\config\core.h" />
    <ClInclude Include="..\src\config\renewal.h" />
    <ClInclude Include="..\src\config\secure.h" />
    <ClInclude Include="..\src\config\classes\general.h" />
    <ClInclude Include="..\src\map\refine.h" />
    <ClInclude Include="..\src\map\refine.p.h" />
    <ClInclude Include="..\src\map\rodex.h" />
    <ClInclude Include="..\src\map\script.h" />
    <ClInclude Include="..\src\map\searchstore.h" />
    <ClInclude Include="..\src\map\skill.h" />
    <ClInclude Include="..\src\map\status.h" />
    <ClInclude Include="..\src\map\storage.h" />
    <ClInclude Include="..\src\map\stylist.h" />
    <ClInclude Include="..\src\map\trade.h" />
    <ClInclude Include="..\src\map\unit.h" />
    <ClInclude Include="..\src\map\vending.h" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\3rdparty\libconfig\grammar.c" />
    <ClCompile Include="..\3rdparty\libconfig\libconfig.c" />
    <ClCompile Include="..\3rdparty\libconfig\scanctx.c" />
    <ClCompile Include="..\3rdparty\libconfig\scanner.c" />
    <ClCompile Include="..\3rdparty\libconfig\strbuf.c" />
    <ClCompile Include="..\3rdparty\mt19937ar\mt19937ar.c" />
    <ClCompile Include="..\src\common\conf.c" />
    <ClCompile Include="..\src\common\core.c" />
    <ClCompile Include="..\src\common\packets.c" />
    <ClCompile Include="..\src\common\console.c" />
    <ClCompile Include="..\src\common\db.c" />
    <ClCompile Include="..\src\common\des.c" />
    <ClCompile Include="..\src\common\ers.c" />
    <ClCompile Include="..\src\common\grfio.c" />
    <ClCompile Include="..\src\common\HPM.c" />
    <ClCompile Include="..\src\common\memmgr.c" />
    <ClCompile Include="..\src\common\mapindex.c" />
    <ClCompile Include="..\src\common\md5calc.c" />
    <ClCompile Include="..\src\common\mutex.c" />
    <ClCompile Include="..\src\common\nullpo.c" />
    <ClCompile Include="..\src\common\random.c" />
    <ClCompile Include="..\src\common\showmsg.c" />
    <ClCompile Include="..\src\common\socket.c" />
    <ClCompile Include="..\src\common\sql.c" />
    <ClCompile Include="..\src\common\strlib.c" />
    <ClCompile Include="..\src\common\sysinfo.c" />
    <ClCompile Include="..\src\common\thread.c" />
    <ClCompile Include="..\src\common\timer.c" />
    <ClCompile Include="..\src\common\utils.c" />
    <ClCompile Include="..\src\map\achievement.c" />
    <ClCompile Include="..\src\map\atcommand.c" />
    <ClCompile Include="..\src\map\battle.c" />
    <ClCompile Include="..\src\map\battleground.c" />
    <ClCompile Include="..\src\map\buyingstore.c" />
    <ClCompile Include="..\src\map\channel.c" />
    <ClCompile Include="..\src\map\chat.c" />
    <ClCompile Include="..\src\map\chrif.c" />
    <ClCompile Include="..\src\map\clan.c" />
    <ClCompile Include="..\src\map\clif.c" />
    <ClCompile Include="..\src\map\date.c" />
    <ClCompile Include="..\src\map\duel.c" />
    <ClCompile Include="..\src\map\elemental.c" />
    <ClCompile Include="..\src\map\guild.c" />
    <ClCompile Include="..\src\map\intif.c" />
    <ClCompile Include="..\src\map\irc-bot.c" />
    <ClCompile Include="..\src\map\itemdb.c" />
    <ClCompile Include="..\src\map\log.c" />
    <ClCompile Include="..\src\map\mail.c" />
    <ClCompile Include="..\src\map\map.c" />
    <ClCompile Include="..\src\map\mapreg_sql.c" />
    <ClCompile Include="..\src\map\homunculus.c" />
    <ClCompile Include="..\src\map\HPMmap.c" />
    <ClCompile Include="..\src\map\instance.c" />
    <ClCompile Include="..\src\map\mercenary.c" />
    <ClCompile Include="..\src\map\mob.c" />
    <ClCompile Include="..\src\map\npc.c" />
    <ClCompile Include="..\src\map\npc_chat.c" />
    <ClCompile Include="..\src\map\party.c" />
    <ClCompile Include="..\src\map\path.c" />
    <ClCompile Include="..\src\map\pc.c" />
    <ClCompile Include="..\src\map\pc_groups.c" />
    <ClCompile Include="..\src\map\pet.c" />
    <ClCompile Include="..\src\map\quest.c" />
    <ClCompile Include="..\src\map\refine.c" />
    <ClCompile Include="..\src\map\rodex.c" />
    <ClCompile Include="..\src\map\script.c" />
    <ClCompile Include="..\src\map\searchstore.c" />
    <ClCompile Include="..\src\map\skill.c" />
    <ClCompile Include="..\src\map\status.c" />
    <ClCompile Include="..\src\map\storage.c" />
    <ClCompile Include="..\src\map\stylist.c" />
    <ClCompile Include="..\src\map\trade.c" />
    <ClCompile Include="..\src\map\unit.c" />
    <ClCompile Include="..\src\map\vending.c" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
  <Target Name="AfterBuild">
    <Copy SourceFiles="..\conf\import-tmpl\battle.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\battle.conf')" />
    <Copy SourceFiles="..\conf\import-tmpl\char-server.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\char-server.conf')" />
    <Copy SourceFiles="..\conf\import-tmpl\inter-server.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\inter-server.conf')" />
    <Copy SourceFiles="..\conf\import-tmpl\logs.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\logs.conf')" />
    <Copy SourceFiles="..\conf\import-tmpl\login-server.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\login-server.conf')" />
    <Copy SourceFiles="..\conf\import-tmpl\map-server.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\map-server.conf')" />
    <Copy SourceFiles="..\conf\import-tmpl\msg_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\msg_conf.txt')" />
    <Copy SourceFiles="..\conf\import-tmpl\socket.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\socket.conf')" />
    <Copy SourceFiles="..\conf\import-tmpl\script.conf" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\script.conf')" />
  </Target>
</Project>