Compile atom_lib with C++ exception enabled.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 10:31:23 +0000 (18:31 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 10:31:23 +0000 (18:31 +0800)
atom.gyp

index 1a87591..488f6b7 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
         '.',
         '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',