Guest User

Untitled

a guest
Feb 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import Options
  2.  
  3. srcdir = '.'
  4. blddir = 'build'
  5. VERSION = '0.0.1'
  6.  
  7. def set_options(opt):
  8. opt.tool_options('compiler_cxx')
  9.  
  10. def configure(conf):
  11. conf.check_tool('compiler_cxx')
  12. conf.check_tool('node_addon')
  13.  
  14. def build(bld):
  15. obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
  16. obj.cxxflags = ["-g"]
  17. obj.target = 'point'
  18. obj.source = 'point.cc'
Add Comment
Please, Sign In to add comment