Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
27 lines
639 B
Plaintext
27 lines
639 B
Plaintext
{
|
|
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
|
|
'cflags': [ '-fno-exceptions' ],
|
|
'cflags_cc': [ '-fno-exceptions' ],
|
|
'conditions': [
|
|
["OS=='win'", {
|
|
# _HAS_EXCEPTIONS is already defined and set to 0 in common.gypi
|
|
#"defines": [
|
|
# "_HAS_EXCEPTIONS=0"
|
|
#],
|
|
"msvs_settings": {
|
|
"VCCLCompilerTool": {
|
|
'ExceptionHandling': 0,
|
|
'EnablePREfast': 'true',
|
|
},
|
|
},
|
|
}],
|
|
["OS=='mac'", {
|
|
'xcode_settings': {
|
|
'CLANG_CXX_LIBRARY': 'libc++',
|
|
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
|
|
},
|
|
}],
|
|
],
|
|
}
|