This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wscript
83 lines (75 loc) · 2.93 KB
/
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
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
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
# def options(opt):
# pass
# def configure(conf):
# conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H')
def build(bld):
module = bld.create_ns3_module('leo', ['core','internet', 'propagation', 'stats', 'flow-monitor', 'applications', 'netanim'])
module.source = [
'helper/arp-cache-helper.cc',
'helper/isl-helper.cc',
'helper/leo-channel-helper.cc',
'helper/leo-input-fstream-container.cc',
'helper/leo-orbit-node-helper.cc',
'helper/nd-cache-helper.cc',
'helper/ground-node-helper.cc',
'helper/satellite-node-helper.cc',
'model/leo-circular-orbit-mobility-model.cc',
'model/leo-circular-orbit-position-allocator.cc',
'model/leo-mock-channel.cc',
'model/leo-mock-net-device.cc',
'model/leo-orbit.cc',
'model/leo-lat-long.cc',
'model/leo-polar-position-allocator.cc',
'model/leo-propagation-loss-model.cc',
'model/mock-net-device.cc',
'model/mock-channel.cc',
'model/isl-mock-channel.cc',
'model/isl-propagation-loss-model.cc',
]
module_test = bld.create_ns3_module_test_library('leo')
module_test.source = [
'test/ground-node-helper-test-suite.cc',
'test/isl-mock-channel-test-suite.cc',
'test/isl-propagation-test-suite.cc',
'test/isl-test-suite.cc',
'test/leo-anim-test-suite.cc',
'test/leo-orbit-test-suite.cc',
'test/leo-input-fstream-container-test-suite.cc',
'test/leo-mobility-test-suite.cc',
'test/leo-mock-channel-test-suite.cc',
'test/leo-propagation-test-suite.cc',
'test/leo-test-suite.cc',
'test/leo-trace-test-suite.cc',
'test/satellite-node-helper-test-suite.cc',
]
headers = bld(features='ns3header')
headers.module = 'leo'
headers.source = [
'helper/arp-cache-helper.h',
'helper/isl-helper.h',
'helper/leo-channel-helper.h',
'helper/leo-input-fstream-container.h',
'helper/leo-orbit-node-helper.h',
'helper/nd-cache-helper.h',
'helper/ground-node-helper.h',
'helper/satellite-node-helper.h',
'model/leo-circular-orbit-mobility-model.h',
'model/leo-circular-orbit-position-allocator.h',
'model/leo-mock-channel.h',
'model/leo-mock-net-device.h',
'model/leo-oneweb-constants.h',
'model/leo-orbit.h',
'model/leo-lat-long.h',
'model/leo-polar-position-allocator.h',
'model/leo-propagation-loss-model.h',
'model/leo-starlink-constants.h',
'model/leo-telesat-constants.h',
'model/mock-net-device.h',
'model/mock-channel.h',
'model/isl-mock-channel.h',
'model/isl-propagation-loss-model.h',
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
# bld.ns3_python_bindings()