noexcept.gypi 386 B

12345678910111213141516
  1. {
  2. 'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
  3. 'cflags': [ '-fno-exceptions' ],
  4. 'cflags_cc': [ '-fno-exceptions' ],
  5. 'msvs_settings': {
  6. 'VCCLCompilerTool': {
  7. 'ExceptionHandling': 0,
  8. 'EnablePREfast': 'true',
  9. },
  10. },
  11. 'xcode_settings': {
  12. 'CLANG_CXX_LIBRARY': 'libc++',
  13. 'MACOSX_DEPLOYMENT_TARGET': '10.7',
  14. 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
  15. },
  16. }