binding.gyp 767 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "targets": [
  3. {
  4. "target_name": "deasync",
  5. "cflags!": [
  6. "-fno-exceptions"
  7. ],
  8. "cflags_cc!": [
  9. "-fno-exceptions"
  10. ],
  11. "xcode_settings": {
  12. "GCC_ENABLE_CPP_EXCEPTIONS": "YES",
  13. "CLANG_CXX_LIBRARY": "libc++",
  14. "MACOSX_DEPLOYMENT_TARGET": "10.7"
  15. },
  16. "msvs_settings": {
  17. "VCCLCompilerTool": {
  18. "ExceptionHandling": 1
  19. }
  20. },
  21. "sources": [
  22. "src/deasync.cc"
  23. ],
  24. "include_dirs": [
  25. "<!@(node -p \"require('node-addon-api').include\")"
  26. ],
  27. "conditions": [
  28. [
  29. "OS=='linux'",
  30. {
  31. "ldflags": [
  32. # "-static-libstdc++",
  33. ]
  34. }
  35. ]
  36. ]
  37. }
  38. ]
  39. }