blob: 6e49f4e5fb11ff7bb428f6d7cb6a2f6cad305213 [file] [log] [blame]
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '..'
def build(bld):
if not bld.env['WITH_EXAMPLES']:
return
for ex in bld.path.ant_glob('*.cpp'):
name = ex.change_ext('').path_from(bld.path.get_bld())
bld.program(name='example-%s' % name,
target=name,
source=[ex],
use='NDN_CXX',
includes='../src',
install_path=None)