-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathwscript
More file actions
113 lines (105 loc) · 3.62 KB
/
wscript
File metadata and controls
113 lines (105 loc) · 3.62 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
import os.path
def build(bld):
obj = bld.create_ns3_module('lora', ['core', 'network', 'mobility', 'spectrum', 'propagation', 'energy'])
obj.source = [
'helper/lora-helper.cc',
'helper/lora-energy-source-helper.cc',
'helper/lora-radio-energy-model-helper.cc',
'model/lora-error-model.cc',
'model/lora-radio-energy-model.cc',
'model/lora-phy.cc',
'model/lora-application.cc',
'model/lora-sink-application.cc',
'model/lora-gw-phy.cc',
'model/lora-phy-header.cc',
'model/lora-mac-trailer.cc',
'model/lora-spectrum-signal-parameters.cc',
'model/lora-mac-header.cc',
'model/lora-mac-command.cc',
'model/lora-net-device.cc',
'model/lora-rs-net-device.cc',
'model/lora-rs-gw-net-device.cc',
'model/lora-gw-net-device.cc',
'model/lora-network.cc',
'model/lora-network-trailer.cc',
'model/lora-network-application.cc',
'model/lora-power-application.cc',
'model/lora-no-power-application.cc',
'model/lora-sf-controller-application.cc',
'model/lora-test-application.cc',
'model/sf-mab.cc',
'model/commands/link-check-req.cc',
'model/commands/link-adr-ans.cc',
'model/commands/dev-status-ans.cc',
'model/commands/duty-cycle-ans.cc',
'model/commands/rx-param-setup-ans.cc',
'model/commands/new-channel-ans.cc',
'model/commands/rx-timing-setup-ans.cc',
'model/commands/link-check-ans.cc',
'model/commands/link-adr-req.cc',
'model/commands/dev-status-req.cc',
'model/commands/duty-cycle-req.cc',
'model/commands/rx-param-setup-req.cc',
'model/commands/new-channel-req.cc',
'model/commands/rx-timing-setup-req.cc',
'model/gw-trailer.cc',
'model/noise-ism.cc',
'model/random-mixture.cc',
'model/mac32-address.cc'
]
obj.cxxflags=['-finstrument-functions']
module_test = bld.create_ns3_module_test_library('lora')
module_test.source = [
]
headers = bld(features='ns3header')
headers.module = 'lora'
headers.source = [
'helper/lora-helper.h',
'helper/lora-energy-source-helper.h',
'helper/lora-radio-energy-model-helper.h',
'model/lora-error-model.h',
'model/lora-radio-energy-model.h',
'model/lora-phy.h',
'model/lora-application.h',
'model/lora-sink-application.h',
'model/lora-gw-phy.h',
'model/lora-phy-header.h',
'model/lora-spectrum-signal-parameters.h',
'model/lora-mac-header.h',
'model/lora-mac-command.h',
'model/lora-mac-trailer.h',
'model/lora-net-device.h',
'model/lora-rs-net-device.h',
'model/lora-rs-gw-net-device.h',
'model/lora-gw-net-device.h',
'model/lora-network.h',
'model/lora-network-trailer.h',
'model/lora-network-application.h',
'model/lora-power-application.h',
'model/lora-no-power-application.h',
'model/lora-sf-controller-application.h',
'model/lora-test-application.h',
'model/sf-mab.h',
'model/commands/link-check-req.h',
'model/commands/link-adr-ans.h',
'model/commands/dev-status-ans.h',
'model/commands/duty-cycle-ans.h',
'model/commands/rx-param-setup-ans.h',
'model/commands/new-channel-ans.h',
'model/commands/rx-timing-setup-ans.h',
'model/commands/link-check-ans.h',
'model/commands/link-adr-req.h',
'model/commands/dev-status-req.h',
'model/commands/duty-cycle-req.h',
'model/commands/rx-param-setup-req.h',
'model/commands/new-channel-req.h',
'model/commands/rx-timing-setup-req.h',
'model/gw-trailer.h',
'model/noise-ism.h',
'model/random-mixture.h',
'model/mac32-address.h'
]
# if (bld.env['ENABLE_EXAMPLES']):
# bld.recurse('examples')
bld.ns3_python_bindings()