summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2014-05-09 20:08:07 -0500
committerAndrew <forkk@forkk.net>2014-05-09 20:08:07 -0500
commit9e80ddb0405ecd5d45d65e5385d0fbd1f3e734e3 (patch)
tree0544b5b1816773aef63fb29a3234eeb1e73163dd /CMakeLists.txt
parent489cb4dbf597818ea2dc463961cc86e7c1261412 (diff)
downloadMultiMC-9e80ddb0405ecd5d45d65e5385d0fbd1f3e734e3.tar
MultiMC-9e80ddb0405ecd5d45d65e5385d0fbd1f3e734e3.tar.gz
MultiMC-9e80ddb0405ecd5d45d65e5385d0fbd1f3e734e3.tar.lz
MultiMC-9e80ddb0405ecd5d45d65e5385d0fbd1f3e734e3.tar.xz
MultiMC-9e80ddb0405ecd5d45d65e5385d0fbd1f3e734e3.zip
Implement crash report system on Windows.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 86881241..19b4dc2c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,14 +81,6 @@ set(CRASH_HANDLER_IMPL "")
message(STATUS "Crash dumps are ${MultiMC_HANDLE_SEGV}")
if (MultiMC_HANDLE_SEGV)
add_definitions(-DHANDLE_SEGV)
- if (UNIX)
- set(CRASH_HANDLER_IMPL "UnixCrash.cpp")
- elseif (WIN32)
- message(WARNING "The crash dump system is not currently implemented on Windows")
- #set(CRASH_HANDLER_IMPL "WinCrash.cpp")
- else ()
- message(WARNING "The crash dump system is not supported on this platform.")
- endif ()
endif ()
option(MultiMC_TEST_SEGV "Intentionally segfault on startup to test crash handling." OFF)
@@ -275,7 +267,7 @@ SET(MULTIMC_SOURCES
# Crash handling
HandleCrash.h
- ${CRASH_HANDLER_IMPL}
+ HandleCrash.cpp
# Logging
logger/QsDebugOutput.cpp