Dependent applications should perform the following changes:
* all includes should be changed from <ndn-cpp-dev/...> to <ndn-cxx/...>
* documentation files/comments referring to ndn-cpp-dev should be
updated and refer to ndn-cxx
* if the app uses pkgconfig for dependency detection, 'libndn-cpp-dev'
should be replaced with 'libndn-cxx'. Example for waf users:
conf.check_cfg(package = 'libndn-cxx', args = ['--cflags', '--libs'],
uselib_store = 'NDN_CXX', mandatory = True)
Change-Id: I92d9ec7ff176b9fe8b4352bf04bbb32aa810422d
Refs: #1491
23 lines
657 B
Python
23 lines
657 B
Python
# -*- 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-cxx',
|
|
)
|
|
|
|
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,
|
|
)
|