15 lines
428 B
Python
15 lines
428 B
Python
def options(opt):
|
|
opt.load("compiler_cxx")
|
|
|
|
def configure(conf):
|
|
conf.load("compiler_cxx")
|
|
conf.check(header_name = "getopt.h")
|
|
conf.check_cfg(package = "ruby", args = "--cflags --libs", uselib_store = "ruby")
|
|
|
|
def build(bld):
|
|
bld(features = "cxx cxxprogram",
|
|
target = "svi",
|
|
source = bld.path.ant_glob("src/**/*.cc"),
|
|
cxxflags = ["-Wall", "-std=gnu++14"],
|
|
uselib = ["ruby"])
|