binding.gyp 685 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "targets": [
  3. { "target_name": "" }
  4. ],
  5. "conditions": [
  6. ['OS=="mac"', {
  7. "targets": [{
  8. "target_name": "<(module_name)",
  9. "sources": ["fsevents.cc"],
  10. "xcode_settings": {
  11. "OTHER_LDFLAGS": [
  12. "-framework CoreFoundation -framework CoreServices"
  13. ]
  14. },
  15. "include_dirs": [
  16. "<!(node -e \"require('nan')\")"
  17. ]
  18. }, {
  19. "target_name": "action_after_build",
  20. "type": "none",
  21. "dependencies": ["<(module_name)"],
  22. "copies": [{
  23. "files": ["<(PRODUCT_DIR)/<(module_name).node"],
  24. "destination": "<(module_path)"
  25. }]
  26. }]
  27. }]
  28. ]
  29. }