Should enable C++ exceptions for all targets on Windows.
It's a requirement for using standard library of VS.
This commit is contained in:
parent
14f7a64a91
commit
fecaa7b75a
2 changed files with 13 additions and 8 deletions
8
atom.gyp
8
atom.gyp
|
@ -252,14 +252,6 @@
|
|||
'.',
|
||||
'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',
|
||||
|
|
13
common.gypi
13
common.gypi
|
@ -77,5 +77,18 @@
|
|||
},
|
||||
},
|
||||
}], # 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"
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue