Skip to content
Browse files

Merge pull request #88 from mojodna/gyp

Start using node-gyp to build
  • Loading branch information...
2 parents f6629c8 + d9679b3 commit 958c2be258bfd236839c5d52e1218bd6085941a1 @tj tj committed Mar 15, 2012
Showing with 23 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +18 −0 binding.gyp
View
5 .gitignore
@@ -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/
View
18 binding.gyp
@@ -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'
+ }
+ }]
+ ]
+ }
+ ]
+}

0 comments on commit 958c2be

Please sign in to comment.
Something went wrong with that request. Please try again.