Fixed BlockZapper after folder move.
This commit is contained in:
parent
afd94a0b11
commit
bb37271f30
3
Tools/BlockZapper/.gitignore
vendored
Normal file
3
Tools/BlockZapper/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
Debug/
|
||||
logs/
|
||||
Release/
|
@ -6,7 +6,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BlockZapper", "BlockZapper.
|
||||
{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA} = {EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "..\..\..\mc-server.clean\VC2008\zlib.vcproj", "{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "..\..\VC2008\zlib.vcproj", "{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -41,7 +41,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../source;../../zlib-1.2.7"
|
||||
AdditionalIncludeDirectories="../../src;../../lib"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
@ -116,7 +116,7 @@
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
AdditionalIncludeDirectories="../../source;../../zlib-1.2.7"
|
||||
AdditionalIncludeDirectories="../../src;../../lib"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
@ -222,70 +222,62 @@
|
||||
Name="shared"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\source\Log.cpp"
|
||||
RelativePath="..\..\src\Log.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\Log.h"
|
||||
RelativePath="..\..\src\Log.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\MCLogger.cpp"
|
||||
RelativePath="..\..\src\MCLogger.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\MCLogger.h"
|
||||
RelativePath="..\..\src\MCLogger.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\StringCompression.cpp"
|
||||
RelativePath="..\..\src\StringCompression.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\StringCompression.h"
|
||||
RelativePath="..\..\src\StringCompression.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\StringUtils.cpp"
|
||||
RelativePath="..\..\src\StringUtils.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\StringUtils.h"
|
||||
RelativePath="..\..\src\StringUtils.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="OSSupport"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\CriticalSection.cpp"
|
||||
RelativePath="..\..\src\OSSupport\CriticalSection.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\CriticalSection.h"
|
||||
RelativePath="..\..\src\OSSupport\CriticalSection.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\File.cpp"
|
||||
RelativePath="..\..\src\OSSupport\File.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\File.h"
|
||||
RelativePath="..\..\src\OSSupport\File.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\IsThread.cpp"
|
||||
RelativePath="..\..\src\OSSupport\IsThread.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\IsThread.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\MakeDir.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\OSSupport\MakeDir.h"
|
||||
RelativePath="..\..\src\OSSupport\IsThread.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
@ -293,11 +285,11 @@
|
||||
Name="WorldStorage"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\source\WorldStorage\FastNBT.cpp"
|
||||
RelativePath="..\..\src\WorldStorage\FastNBT.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\source\WorldStorage\FastNBT.h"
|
||||
RelativePath="..\..\src\WorldStorage\FastNBT.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
|
@ -100,8 +100,8 @@ endif
|
||||
#
|
||||
|
||||
INCLUDE = -I.\
|
||||
-I../../source\
|
||||
-I../../zlib-1.2.7\
|
||||
-I../../src\
|
||||
-I../../lib\
|
||||
|
||||
|
||||
|
||||
@ -114,16 +114,16 @@ INCLUDE = -I.\
|
||||
SOURCES := $(shell find . '(' -name '*.cpp' -o -name '*.c' ')')
|
||||
|
||||
SHAREDSOURCES := \
|
||||
source/Log.cpp \
|
||||
source/MCLogger.cpp \
|
||||
source/Noise.cpp \
|
||||
source/StringCompression.cpp \
|
||||
source/StringUtils.cpp \
|
||||
source/OSSupport/CriticalSection.cpp \
|
||||
source/OSSupport/File.cpp \
|
||||
source/OSSupport/IsThread.cpp \
|
||||
source/OSSupport/MakeDir.cpp \
|
||||
source/WorldStorage/FastNBT.cpp
|
||||
src/Log.cpp \
|
||||
src/MCLogger.cpp \
|
||||
src/Noise.cpp \
|
||||
src/StringCompression.cpp \
|
||||
src/StringUtils.cpp \
|
||||
src/OSSupport/CriticalSection.cpp \
|
||||
src/OSSupport/File.cpp \
|
||||
src/OSSupport/IsThread.cpp \
|
||||
src/OSSupport/MakeDir.cpp \
|
||||
src/WorldStorage/FastNBT.cpp
|
||||
|
||||
SHAREDSOURCES := $(filter-out %minigzip.c,$(SHAREDSOURCES))
|
||||
|
||||
@ -142,8 +142,6 @@ BlockZapper : $(OBJECTS) $(SHAREDOBJECTS)
|
||||
clean :
|
||||
rm -rf $(BUILDDIR) BlockZapper
|
||||
|
||||
install : MCServer
|
||||
cp MCServer MCServer
|
||||
|
||||
|
||||
|
||||
@ -175,7 +173,7 @@ $(BUILDDIR)%.o: %.cpp
|
||||
@sed -e 's/.*://' -e 's/\\$$//' < $(patsubst %.o,%.d,$@).tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $(patsubst %.o,%.d,$@)
|
||||
@rm -f $(patsubst %.o,%.d,$@).tmp
|
||||
|
||||
$(BUILDDIR)source/%.o: ../../source/%.cpp
|
||||
$(BUILDDIR)src/%.o: ../../src/%.cpp
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) $(CXX_OPTIONS) -c $(INCLUDE) $< -o $@
|
||||
@$(CC) $(CXX_OPTIONS) -MM $(INCLUDE) $< > $(patsubst %.o,%.d,$@)
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
|
||||
|
||||
#include "../../source/Globals.h"
|
||||
#include "../../src/Globals.h"
|
||||
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include "WorldStorage/FastNBT.h"
|
||||
#include "StringCompression.h"
|
||||
#include "zlib.h"
|
||||
#include "zlib/zlib.h"
|
||||
|
||||
#include "Zapper.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user