Permalink
Browse files

[build] wscript

  • Loading branch information...
1 parent 696b813 commit 0a1bd975d227e71df32b814d85c334ca982f2792 @mmalecki committed Oct 29, 2011
Showing with 16 additions and 0 deletions.
  1. +16 −0 wscript
View
16 wscript
@@ -0,0 +1,16 @@
+srcdir = '.'
+blddir = 'build'
+VERSION = '0.0.0'
+
+def set_options(opt):
+ opt.tool_options('compiler_cxx')
+
+def configure(conf):
+ conf.check_tool('compiler_cxx')
+ conf.check_tool('node_addon')
+
+def build(bld):
+ obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
+ obj.target = 'mount'
+ obj.source = 'src/mount.cc'
+

0 comments on commit 0a1bd97

Please sign in to comment.