blob: bc2842599f732af3b5918c3efd1f79bd40e68e7e [file] [log] [blame]
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '..'
def configure(conf):
conf.find_program('sh')
def build(bld):
for app in bld.path.ant_glob('*.cpp'):
bld(features=['cxx', 'cxxprogram'],
target = '%s' % (str(app.change_ext('','.cpp'))),
source = app,
use = 'ndn-cpp-dev',
)
bld (features = "subst",
source = bld.path.ant_glob(['wrapper/*.sh']),
target = ['%s' % node.change_ext('', '.sh') for node in bld.path.ant_glob(['wrapper/*.sh'])],
install_path = "${BINDIR}",
chmod = 0755,
)