forked from tomhenderson/epidemic-routing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwscript
32 lines (26 loc) · 963 Bytes
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('epidemic-routing', ['internet'])
module.source = [
'model/epidemic-packet-queue.cc',
'model/epidemic-packet.cc',
'model/epidemic-tag.cc',
'model/epidemic-routing-protocol.cc',
'helper/epidemic-helper.cc',
]
module_test = bld.create_ns3_module_test_library('epidemic-routing')
module_test.source = [
'test/epidemic-test-suite.cc',
]
headers = bld(features='ns3header')
headers.module = 'epidemic-routing'
headers.source = [
'model/epidemic-packet-queue.h',
'model/epidemic-packet.h',
'model/epidemic-tag.h',
'model/epidemic-routing-protocol.h',
'helper/epidemic-helper.h',
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
#bld.ns3_python_bindings()