Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 451 Bytes
srcdir = '.'
blddir = 'build'
VERSION = '0.1.0'
def set_options(ctx):
ctx.tool_options('compiler_cxx')
def configure(ctx):
ctx.check_tool('compiler_cxx')
ctx.check_tool('node_addon')
def build(ctx):
t = ctx.new_task_gen('cxx', 'shlib', 'node_addon')
t.target = 'profiler'
t.source = """
snapshot.cc
graph_edge.cc
graph_node.cc
graph_path.cc
snapshot_diff.cc
profile.cc
profile_node.cc
profiler.cc
"""