Windows: Add stacktrace support when unhandled exception occurs.
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 3 Mar 2015 12:39:15 +0000 (13:39 +0100)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 3 Mar 2015 12:39:15 +0000 (13:39 +0100)
commitd58a15c0a603a83a416f84def21d5603653e3cba
treebf925292c812b13f9f7d1bb3080cca17c4dcc8d0
parentb42a3d24853195150130df513353c034ac528933
Windows: Add stacktrace support when unhandled exception occurs.

We need to register the exception handler slightly differently here, as
well as adding DbgHelp as a library, but according to docs it should be
supported in recent Windows editions (Win XP included even).

We can try it first and revert if there are issues.
CMakeLists.txt
build_files/scons/config/win32-mingw-config.py
build_files/scons/config/win32-vc-config.py
build_files/scons/config/win64-mingw-config.py
build_files/scons/config/win64-vc-config.py
source/blender/blenlib/intern/system.c
source/creator/creator.c