Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Start using node-gyp to build

  • Loading branch information...
commit d9679b305170320b04d3fdd54832755ff6899ac9 1 parent b34448a
Seth Fitzsimmons mojodna authored
Showing with 23 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +18 −0 binding.gyp
5 .gitignore
View
@@ -6,3 +6,8 @@ build
binding.node
examples/stress-test-client
node_modules
+Makefile.gyp
+binding.Makefile
+binding.target.gyp.mk
+gyp-mac-tool
+out/
18 binding.gyp
View
@@ -0,0 +1,18 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'binding',
+ 'sources': [ 'binding.cc' ],
+ 'libraries': ['-lzmq'],
+ 'cflags!': ['-fno-exceptions'],
+ 'cflags_cc!': ['-fno-exceptions'],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
+ }
+ }]
+ ]
+ }
+ ]
+}
Please sign in to comment.
Something went wrong with that request. Please try again.