diff options
author | Mattes D <github@xoft.cz> | 2014-11-26 11:00:21 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-11-26 11:00:21 +0100 |
commit | 413e5c20fe688ad6f91542ee3227ccb659374cb2 (patch) | |
tree | d33a8f5fba540b7713bfb0c390ebd3e80ae64198 | |
parent | WSSAnvil: Fixed bad code in arrow loading. (diff) | |
download | cuberite-413e5c20fe688ad6f91542ee3227ccb659374cb2.tar cuberite-413e5c20fe688ad6f91542ee3227ccb659374cb2.tar.gz cuberite-413e5c20fe688ad6f91542ee3227ccb659374cb2.tar.bz2 cuberite-413e5c20fe688ad6f91542ee3227ccb659374cb2.tar.lz cuberite-413e5c20fe688ad6f91542ee3227ccb659374cb2.tar.xz cuberite-413e5c20fe688ad6f91542ee3227ccb659374cb2.tar.zst cuberite-413e5c20fe688ad6f91542ee3227ccb659374cb2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9720c9941..c702ac770 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -39,6 +39,7 @@ SET (SRCS Inventory.cpp Item.cpp ItemGrid.cpp + LeakFinder.cpp LightingThread.cpp LineBlockTracer.cpp LinearInterpolation.cpp @@ -58,6 +59,7 @@ SET (SRCS Scoreboard.cpp Server.cpp SetChunkData.cpp + StackWalker.cpp Statistics.cpp StringCompression.cpp StringUtils.cpp @@ -225,7 +227,7 @@ else () Bindings/Bindings.cpp PROPERTIES COMPILE_FLAGS "/Yc\"string.h\" /Fp\"$(IntDir)/Bindings.pch\"" ) SET_SOURCE_FILES_PROPERTIES( - "StackWalker.cpp LeakFinder.h" PROPERTIES COMPILE_FLAGS "/Yc\"Globals.h\"" + "StackWalker.cpp LeakFinder.cpp" PROPERTIES COMPILE_FLAGS "/Yc\"Globals.h\"" ) list(APPEND SOURCE "Resources/MCServer.rc") diff --git a/src/main.cpp b/src/main.cpp index 463c54c28..c60e13a8c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -182,7 +182,7 @@ int main( int argc, char **argv) #if defined(_MSC_VER) && defined(_DEBUG) && defined(ENABLE_LEAK_FINDER) InitLeakFinder(); #endif - + // Magic code to produce dump-files on Windows if the server crashes: #if defined(_WIN32) && !defined(_WIN64) && defined(_MSC_VER) HINSTANCE hDbgHelp = LoadLibrary("DBGHELP.DLL"); |