]> khamidou — GitHub mirrors - electron.git/commitdiff
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 1a87591ad8fff07138b8ba040c3ada59317c821c..488f6b74237da9921ce66fe7c0d6e503f64767d1 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',