Alexander Afanasyev | f04d451 | 2012-02-14 18:42:47 -0800 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | |
| 3 | def build(bld): |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 4 | obj = bld.create_ns3_program('ndn-simple', ['ndnSIM']) |
| 5 | obj.source = 'ndn-simple.cc' |
Alexander Afanasyev | f04d451 | 2012-02-14 18:42:47 -0800 | [diff] [blame] | 6 | |
Alexander Afanasyev | aa1c4c3 | 2012-11-21 16:17:03 -0800 | [diff] [blame] | 7 | obj = bld.create_ns3_program('ndn-grid', ['ndnSIM', 'point-to-point-layout']) |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 8 | obj.source = 'ndn-grid.cc' |
Alexander Afanasyev | aa1c4c3 | 2012-11-21 16:17:03 -0800 | [diff] [blame] | 9 | |
Alexander Afanasyev | 68de795 | 2012-12-12 18:02:29 -0800 | [diff] [blame^] | 10 | obj = bld.create_ns3_program('ndn-simple-with-custom-app', ['ndnSIM']) |
| 11 | obj.source = ['ndn-simple-with-custom-app.cc', |
| 12 | 'custom-apps/custom-app.cc'] |
| 13 | |
Alexander Afanasyev | aa1c4c3 | 2012-11-21 16:17:03 -0800 | [diff] [blame] | 14 | if 'topology' in bld.env['NDN_plugins']: |
| 15 | obj = bld.create_ns3_program('ndn-grid-topo-plugin', ['ndnSIM']) |
| 16 | obj.source = 'ndn-grid-topo-plugin.cc' |
| 17 | |
| 18 | obj = bld.create_ns3_program('ndn-congestion-topo-plugin', ['ndnSIM']) |
| 19 | obj.source = 'ndn-congestion-topo-plugin.cc' |
Alexander Afanasyev | e97c607 | 2012-11-21 23:51:12 -0800 | [diff] [blame] | 20 | |
| 21 | obj = bld.create_ns3_program('ndn-congestion-alt-topo-plugin', ['ndnSIM']) |
| 22 | obj.source = [ |
| 23 | 'custom-strategies/custom-strategy.cc', |
| 24 | 'ndn-congestion-alt-topo-plugin.cc' |
| 25 | ] |
Alexander Afanasyev | 5931480 | 2012-11-26 14:56:04 -0800 | [diff] [blame] | 26 | |
| 27 | obj = bld.create_ns3_program('ndn-tree-tracers', ['ndnSIM']) |
| 28 | obj.source = 'ndn-tree-tracers.cc' |
Alexander Afanasyev | f4a0359 | 2012-12-10 16:12:34 -0800 | [diff] [blame] | 29 | |
| 30 | obj = bld.create_ns3_program('ndn-tree-cs-tracers', ['ndnSIM']) |
| 31 | obj.source = 'ndn-tree-cs-tracers.cc' |