Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.779 kb
import Options
from os import unlink, link
from os.path import exists
APPNAME = 'zeromq.node'
VERSION = "1.0.0"
def set_options(opt):
opt.tool_options("compiler_cxx")
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
conf.check_cfg(atleast_pkgconfig_version='0.0.0', mandatory=True, errmsg='pkg-config was not found')
conf.check_cfg(package='libzmq', atleast_version='2.1.0', uselib_store='ZMQ', args='--cflags --libs', mandatory=True, errmsg='Package libzmq was not found')
conf.check(lib='uuid', uselib_store='UUID')
def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.cxxflags = ["-Wall", "-Werror"]
obj.target = "binding"
obj.source = "binding.cc"
obj.uselib = "ZMQ UUID"
Jump to Line
Something went wrong with that request. Please try again.