Skip to content

Start using node-gyp to build #88

Merged
merged 1 commit into from Mar 15, 2012
+23 −0
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'
+ }
+ }]
+ ]
+ }
+ ]
+}
Something went wrong with that request. Please try again.