aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-11-28 20:21:21 +0100
committerShauren <shauren.trinity@gmail.com>2016-11-28 20:21:21 +0100
commit9633c8c2b70d230ec0c0825e29f52722744afcb4 (patch)
tree40454e371a71ca0ff28f43c039f88a31f3fa3951 /src/CMakeLists.txt
parente0fb4445cd2f5f4bb94ea23122548debddc41ba6 (diff)
Core/Debugging: Partially revert e0fb4445cd2f5f4bb94ea23122548debddc41ba6, the cmake hack to build wheaty directly into executable is still needed as it is impossible to have it initialize before every other static variable when it resides in dll (dynamic linking only)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7563d0e11ca..11b89e8dc79 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,6 +8,13 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+if(WIN32)
+ set(sources_windows
+ ${CMAKE_SOURCE_DIR}/src/common/Debugging/WheatyExceptionReport.cpp
+ ${CMAKE_SOURCE_DIR}/src/common/Debugging/WheatyExceptionReport.h
+ )
+endif(WIN32)
+
add_subdirectory(genrev)
add_subdirectory(common)