blob: e7790318c4a49600e62e68354311a686b6d13a13 [file] [log] [blame]
shockjiange9c1ab92014-07-21 12:02:52 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2VERSION='0.1'
3APPNAME="ndn-tlv-ping"
4
5def options(opt):
6 opt.load('compiler_cxx gnu_dirs')
7
8def configure(conf):
9 conf.load("compiler_cxx gnu_dirs")
10 conf.check_cfg(package='libndn-cxx', args=['--cflags', '--libs'],
11 uselib_store='NDN_CXX', mandatory=True)
12
13def build (bld):
14
15 bld.program (
16 features = 'cxx',
17 target = 'rr-test',
18 source = 'tests/RR_test.cpp',
19 use = 'rr',
20 )
21 bld.stlib(source="src/rr.cpp", target="rr", use="NDN_CXX")
22
23