1
0

Added VS2010 project and solution for the DeNotch map converter

git-svn-id: http://mc-server.googlecode.com/svn/trunk@129 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth 2011-12-27 16:21:48 +00:00
parent 35419380d8
commit e203be06e8
6 changed files with 210 additions and 0 deletions

View File

@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DeNotchConverter", "DeNotchConverter.vcxproj", "{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ZLib", "..\VC2010\ZLib.vcxproj", "{F6F43A78-816D-4C37-A07B-68BED529273A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Debug|Win32.ActiveCfg = Debug|Win32
{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Debug|Win32.Build.0 = Debug|Win32
{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Debug|x64.ActiveCfg = Debug|Win32
{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Release|Win32.ActiveCfg = Release|Win32
{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Release|Win32.Build.0 = Release|Win32
{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Release|x64.ActiveCfg = Release|Win32
{F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|Win32.ActiveCfg = Debug|Win32
{F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|Win32.Build.0 = Debug|Win32
{F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|x64.ActiveCfg = Debug|x64
{F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|x64.Build.0 = Debug|x64
{F6F43A78-816D-4C37-A07B-68BED529273A}.Release|Win32.ActiveCfg = Release|Win32
{F6F43A78-816D-4C37-A07B-68BED529273A}.Release|Win32.Build.0 = Release|Win32
{F6F43A78-816D-4C37-A07B-68BED529273A}.Release|x64.ActiveCfg = Release|x64
{F6F43A78-816D-4C37-A07B-68BED529273A}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,89 @@
<?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>{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}</ProjectGuid>
<RootNamespace>DeNotchConverter</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>../zlib-1.2.5</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>../zlib-1.2.5</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="source\cDeNotch.cpp" />
<ClCompile Include="source\cNBTData.cpp" />
<ClCompile Include="source\cQuicksort.cpp" />
<ClCompile Include="source\cTimer.cpp" />
<ClCompile Include="source\main.cpp" />
<ClCompile Include="source\printdir.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="source\cDeNotch.h" />
<ClInclude Include="source\cNBTData.h" />
<ClInclude Include="source\cQuicksort.h" />
<ClInclude Include="source\cTimer.h" />
<ClInclude Include="source\wdirent.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\VC2010\ZLib.vcxproj">
<Project>{f6f43a78-816d-4c37-a07b-68bed529273a}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="source\cDeNotch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="source\cNBTData.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="source\cQuicksort.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="source\cTimer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="source\main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="source\printdir.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="source\cDeNotch.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="source\cNBTData.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="source\cQuicksort.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="source\cTimer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="source\wdirent.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

25
converter/clean.bat Normal file
View File

@ -0,0 +1,25 @@
del *.ncb
del *.ilk
del *.lib
del *.exp
del *.map
del *.pdb
del *.bsc
del *.sdf
del *.opensdf /AH
del *.insprc
del *.aps
del applog.txt
del *.suo /AH
del debug\*.* /Q
del release\*.* /Q
del x64\*.* /Q
del "My Inspector Results"\*.* /Q
del ipch\*.* /Q
rd release /S /Q
rd debug /S /Q
rd ipch /S /Q
rd x64 /Q
rd "My Inspector Results" /Q
pause

View File

@ -1,3 +1,5 @@
#if 0
/* list contents of a directory */
#include <stdio.h>
#include <stdlib.h>
@ -50,3 +52,6 @@ int main (int argc, char *argv[]) {
}
return EXIT_SUCCESS;
}
#endif