See also named-data/ndn-cxx@5686c51b87 Change-Id: I0ff9b60ae9a5e51f597d16221bbe1d97afc9704a
13 lines
425 B
Python
13 lines
425 B
Python
# -*- 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=f'psync-{name}',
|
|
source=[ex],
|
|
use='PSync')
|