forked from nsnam/ns-3-dev-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwscript
48 lines (41 loc) · 1.67 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
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('buildings', ['mobility', 'propagation', 'config-store'])
module.source = [
'model/building.cc',
'model/building-list.cc',
'model/mobility-building-info.cc',
'model/itu-r-1238-propagation-loss-model.cc',
'model/buildings-propagation-loss-model.cc',
'model/hybrid-buildings-propagation-loss-model.cc',
'model/oh-buildings-propagation-loss-model.cc',
'helper/building-container.cc',
'helper/building-position-allocator.cc',
'helper/building-allocator.cc',
'helper/buildings-helper.cc',
]
module_test = bld.create_ns3_module_test_library('buildings')
module_test.source = [
'test/buildings-helper-test.cc',
'test/building-position-allocator-test.cc',
'test/buildings-pathloss-test.cc',
'test/buildings-shadowing-test.cc',
]
headers = bld(features='ns3header')
headers.module = 'buildings'
headers.source = [
'model/building.h',
'model/building-list.h',
'model/mobility-building-info.h',
'model/itu-r-1238-propagation-loss-model.h',
'model/buildings-propagation-loss-model.h',
'model/hybrid-buildings-propagation-loss-model.h',
'model/oh-buildings-propagation-loss-model.h',
'helper/building-container.h',
'helper/building-allocator.h',
'helper/building-position-allocator.h',
'helper/buildings-helper.h',
]
if (bld.env['ENABLE_EXAMPLES']):
bld.recurse('examples')
bld.ns3_python_bindings()