blob: ad0cef9e0d59500a8d7a397afece8cfd6cc70628 [file] [log] [blame]
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '..'
def build(bld):
# List all .cpp files (whole example in one .cpp)
for ex in bld.path.ant_glob('*.cpp'):
name = ex.change_ext('').path_from(bld.path.get_bld())
bld.program(name=f'example-{name}',
target=name,
source=[ex],
use='NDN_CXX',
install_path=None)