Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 556 Bytes
def set_options(opt):
opt.tool_options("compiler_cxx")
opt.tool_options("compiler_cc")
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("compiler_cc")
conf.check_tool("node_addon")
conf.check(lib="tspi",libpath=["/usr/lib","/usr/local/lib"])
def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.cflags = ["-fPIC"]
obj.cxxflags = ["-ltspi" "-fPIC"]
obj.target = "tssbridge"
obj.includes = './includes/cvv8'
obj.source = ["./src/tsscommands.c", "./src/tssbridge.cpp"]
obj.uselib = "TSPI";