summaryrefslogtreecommitdiffstats
path: root/Tools/MCADefrag/CMakeLists.txt
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-29 23:58:26 +0100
committerMattes D <github@xoft.cz>2014-11-29 23:58:26 +0100
commitdec89478a78a4feb9411de9c288134c55e0febcb (patch)
tree9faad123bd324930334b854ea92f8f41e725bebb /Tools/MCADefrag/CMakeLists.txt
parentRemoved unneeded include. (diff)
downloadcuberite-dec89478a78a4feb9411de9c288134c55e0febcb.tar
cuberite-dec89478a78a4feb9411de9c288134c55e0febcb.tar.gz
cuberite-dec89478a78a4feb9411de9c288134c55e0febcb.tar.bz2
cuberite-dec89478a78a4feb9411de9c288134c55e0febcb.tar.lz
cuberite-dec89478a78a4feb9411de9c288134c55e0febcb.tar.xz
cuberite-dec89478a78a4feb9411de9c288134c55e0febcb.tar.zst
cuberite-dec89478a78a4feb9411de9c288134c55e0febcb.zip
Diffstat (limited to '')
-rw-r--r--Tools/MCADefrag/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/MCADefrag/CMakeLists.txt b/Tools/MCADefrag/CMakeLists.txt
index 42b42018b..618719d68 100644
--- a/Tools/MCADefrag/CMakeLists.txt
+++ b/Tools/MCADefrag/CMakeLists.txt
@@ -46,6 +46,7 @@ set(SHARED_HDR
../../src/ByteBuffer.h
../../src/StringUtils.h
)
+
flatten_files(SHARED_SRC)
flatten_files(SHARED_HDR)
source_group("Shared" FILES ${SHARED_SRC} ${SHARED_HDR})
@@ -54,15 +55,22 @@ set(SHARED_OSS_SRC
../../src/OSSupport/CriticalSection.cpp
../../src/OSSupport/File.cpp
../../src/OSSupport/IsThread.cpp
+ ../../src/OSSupport/StackTrace.cpp
../../src/OSSupport/Timer.cpp
)
set(SHARED_OSS_HDR
../../src/OSSupport/CriticalSection.h
../../src/OSSupport/File.h
../../src/OSSupport/IsThread.h
+ ../../src/OSSupport/StackTrace.h
../../src/OSSupport/Timer.h
)
+if(WIN32)
+ list (APPEND SHARED_OSS_SRC ../../src/StackWalker.cpp)
+ list (APPEND SHARED_OSS_HDR ../../src/StackWalker.h)
+endif()
+
flatten_files(SHARED_OSS_SRC)
flatten_files(SHARED_OSS_HDR)