Here is a Visual Studio project to build HadesMem v2. Just drop it in the build directory and go. I know it does the same thing as the batch files but batch files annoy me. The file would be a lot smaller if Visual Studio didn't require so much extra crap in it's MSBuild projects.
Code:
<?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="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="Globals">
<ProjectGuid>{6DA36AB6-B388-4BB9-BC4D-5B85AD3B37D0}</ProjectGuid>
<Keyword>MakeFileProj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup>
<ConfigurationType>Makefile</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='Win32'">
<address-model>32</address-model>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='x64'">
<address-model>64</address-model>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="Exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
<PropertyGroup>
<NMakeBuildCommandLine>cd $(MSBuildProjectDirectory)\.. & %BOOST_ROOT%\b2 -j %NUMBER_OF_PROCESSORS% toolset=msvc address-model=$(address-model) $(Configuration.ToLower())</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd $(MSBuildProjectDirectory)\.. & %BOOST_ROOT%\b2 -j %NUMBER_OF_PROCESSORS% toolset=msvc address-model=$(address-model) --clean $(Configuration.ToLower())</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd $(MSBuildProjectDirectory)\.. & %BOOST_ROOT%\b2 -j %NUMBER_OF_PROCESSORS% toolset=msvc address-model=$(address-model) -a $(Configuration.ToLower())</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>