shockjiang | e9c1ab9 | 2014-07-21 12:02:52 -0700 | [diff] [blame^] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | VERSION='0.1' |
| 3 | APPNAME="ndn-tlv-ping" |
| 4 | |
| 5 | def options(opt): |
| 6 | opt.load('compiler_cxx gnu_dirs') |
| 7 | |
| 8 | def 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 | |
| 13 | def 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 | |