forked from mit-ll/LL-SimpleWireless
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwscript
23 lines (20 loc) · 743 Bytes
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_module('simple-wireless', ['network'])
obj.source = [
'model/simple-wireless-net-device.cc',
'model/simple-wireless-channel.cc',
'model/drop-head-queue.cc',
'model/priority-queue.cc',
]
headers = bld(features='ns3header')
headers.module = 'simple-wireless'
headers.source = [
'model/simple-wireless-net-device.h',
'model/simple-wireless-channel.h',
'model/drop-head-queue.h',
'model/priority-queue.h',
]
obj.env.append_value("LIB", ["pcap"])
if (bld.env['ENABLE_EXAMPLES']):
bld.recurse('examples')