It's a requirement for using standard library of VS.
'.',
'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',
},
},
}], # clang==1
+ # Windows specific settings.
+ ['OS=="win"', {
+ 'target_defaults': {
+ '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,
+ },
+ },
+ },
+ }], # OS=="win"
],
}