blob: bb8df5bab59f72f9501da4cfb08ad20be0bce867 [file] [log] [blame]
jeraldabrahamf9543a42014-02-11 06:37:34 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2VERSION='0.3'
3NAME="ndn-traffic"
4
5def options(opt):
6 opt.load('compiler_cxx')
7
8def configure(conf):
9 conf.load("compiler_cxx")
10 conf.check_cfg(package='libndn-cpp-dev', args=['--cflags', '--libs'], uselib_store='NDN_CPP', mandatory=True)
11
12def build (bld):
13 bld.program (
14 features = 'cxx',
15 target = 'ndntraffic',
16 source = 'ndn-traffic-client.cpp',
17 use = 'NDN_CPP',
18 )
19
20 bld.program (
21 features = 'cxx',
22 target = 'ndntrafficserver',
23 source = 'ndn-traffic-server.cpp',
24 use = 'NDN_CPP',
25 )