You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
390 B

  1. srcdir = '.'
  2. blddir = 'build'
  3. VERSION = '0.0.1'
  4. def set_options(opt):
  5. opt.tool_options('compiler_cxx')
  6. def configure(conf):
  7. conf.check_tool('compiler_cxx')
  8. conf.check_tool('node_addon')
  9. conf.env['CXXFLAGS'] += [ '-O2', '-g', '-Wall', '-Wshadow', '-W' ]
  10. def build(bld):
  11. obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
  12. obj.target = 'ares'
  13. obj.source = 'ares.cc dns_parser.cc'