Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (11 sloc) 0.318 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/env python

def set_options(ctx):
ctx.tool_options('compiler_cxx')

def configure(ctx):
ctx.check_tool('compiler_cxx')
ctx.check_tool('node_addon')
ctx.env.set_variant('Release')

def build(ctx):
t = ctx.new_task_gen('cxx', 'shlib', 'node_addon')
t.target = 'buffertools'
t.source = 'buffertools.cc'
Something went wrong with that request. Please try again.