summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-26 12:45:53 +0100
committerMattes D <github@xoft.cz>2014-11-26 12:45:53 +0100
commita971dee379e9de211629b5a8604a152e43990e89 (patch)
treef2d893cebbe3cc27a42e652cd54270dbfc30b298
parentcRoot: Fixed a memory leak with cRankManager. (diff)
downloadcuberite-a971dee379e9de211629b5a8604a152e43990e89.tar
cuberite-a971dee379e9de211629b5a8604a152e43990e89.tar.gz
cuberite-a971dee379e9de211629b5a8604a152e43990e89.tar.bz2
cuberite-a971dee379e9de211629b5a8604a152e43990e89.tar.lz
cuberite-a971dee379e9de211629b5a8604a152e43990e89.tar.xz
cuberite-a971dee379e9de211629b5a8604a152e43990e89.tar.zst
cuberite-a971dee379e9de211629b5a8604a152e43990e89.zip
-rw-r--r--src/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c702ac770..d6218ff42 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -39,7 +39,6 @@ SET (SRCS
Inventory.cpp
Item.cpp
ItemGrid.cpp
- LeakFinder.cpp
LightingThread.cpp
LineBlockTracer.cpp
LinearInterpolation.cpp
@@ -59,7 +58,6 @@ SET (SRCS
Scoreboard.cpp
Server.cpp
SetChunkData.cpp
- StackWalker.cpp
Statistics.cpp
StringCompression.cpp
StringUtils.cpp
@@ -106,7 +104,6 @@ SET (HDRS
Inventory.h
Item.h
ItemGrid.h
- LeakFinder.h
LightingThread.h
LineBlockTracer.h
LinearInterpolation.h
@@ -116,7 +113,6 @@ SET (HDRS
Map.h
MapManager.h
Matrix4.h
- MemoryLeak.h
MersenneTwister.h
MobCensus.h
MobFamilyCollecter.h
@@ -130,7 +126,6 @@ SET (HDRS
Scoreboard.h
Server.h
SetChunkData.h
- StackWalker.h
Statistics.h
StringCompression.h
StringUtils.h
@@ -178,6 +173,10 @@ if (NOT MSVC)
else ()
# MSVC-specific handling: Put all files into one project, separate by the folders:
+ # Add the MSVC-specific LeakFinder sources:
+ list (APPEND SRCS LeakFinder.cpp StackWalker.cpp)
+ list (APPEND HDRS LeakFinder.h StackWalker.h MemoryLeak.h)
+
source_group(Bindings FILES "Bindings/Bindings.cpp" "Bindings/Bindings.h")
# Add all subfolders as solution-folders: