From: Cheng Zhao Date: Mon, 1 Jul 2013 10:31:23 +0000 (+0800) Subject: Compile atom_lib with C++ exception enabled. X-Git-Tag: v0.1.0~62 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=49a5f6e38c348fc16dc280bc282c5aac1447dc9e;p=electron.git Compile atom_lib with C++ exception enabled. --- diff --git a/atom.gyp b/atom.gyp index 1a87591a..488f6b74 100644 --- a/atom.gyp +++ b/atom.gyp @@ -252,6 +252,14 @@ '.', 'vendor', ], + 'msvs_settings': { + 'VCCLCompilerTool': { + # Programs that use the Standard C++ library must be compiled with C++ + # exception handling enabled. + # http://support.microsoft.com/kb/154419 + 'ExceptionHandling': 1, + }, + }, }, { 'target_name': 'generated_sources',