author | Tom Henderson <tomh@tomh.org> |
Mon, 28 Sep 2015 20:27:25 -0700 | |
changeset 11676 | 05ea1489e509 |
parent 9277 | 0f87d1cb030c |
permissions | -rw-r--r-- |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
2 |
|
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
3 |
def build(bld): |
6823
a27f86fb4e55
Merge node and common modules into new network module
Tom Henderson <tomh@tomh.org>
parents:
6794
diff
changeset
|
4 |
module = bld.create_ns3_module('propagation', ['network', 'mobility']) |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
5 |
module.includes = '.' |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
6 |
module.source = [ |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
7 |
'model/propagation-delay-model.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
8 |
'model/propagation-loss-model.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
9 |
'model/jakes-propagation-loss-model.cc', |
8786
8f366d5eee06
Bug 1140: fixed. New Jakes model has been implemented.
Kirill Andreev <andreev@telum.ru>
parents:
8739
diff
changeset
|
10 |
'model/jakes-process.cc', |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
11 |
'model/cost231-propagation-loss-model.cc', |
8734
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
12 |
'model/okumura-hata-propagation-loss-model.cc', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
13 |
'model/itu-r-1411-los-propagation-loss-model.cc', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
14 |
'model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.cc', |
8735
b4a468ff2aad
revised buildings+propagation after review by Pavel http://codereview.appspot.com/5728062/
Nicola Baldo <nbaldo@cttc.es>
parents:
8734
diff
changeset
|
15 |
'model/kun-2600-mhz-propagation-loss-model.cc', |
6949
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
16 |
] |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
17 |
|
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
18 |
module_test = bld.create_ns3_module_test_library('propagation') |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
19 |
module_test.source = [ |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
20 |
'test/propagation-loss-model-test-suite.cc', |
8739
d4a80ca13a60
added separate test suites for new propagation models
Nicola Baldo <nbaldo@cttc.es>
parents:
8735
diff
changeset
|
21 |
'test/okumura-hata-test-suite.cc', |
d4a80ca13a60
added separate test suites for new propagation models
Nicola Baldo <nbaldo@cttc.es>
parents:
8735
diff
changeset
|
22 |
'test/itu-r-1411-los-test-suite.cc', |
d4a80ca13a60
added separate test suites for new propagation models
Nicola Baldo <nbaldo@cttc.es>
parents:
8735
diff
changeset
|
23 |
'test/kun-2600-mhz-test-suite.cc', |
d4a80ca13a60
added separate test suites for new propagation models
Nicola Baldo <nbaldo@cttc.es>
parents:
8735
diff
changeset
|
24 |
'test/itu-r-1411-nlos-over-rooftop-test-suite.cc', |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
25 |
] |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
26 |
|
9277
0f87d1cb030c
Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents:
8786
diff
changeset
|
27 |
headers = bld(features='ns3header') |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
28 |
headers.module = 'propagation' |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
29 |
headers.source = [ |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
30 |
'model/propagation-delay-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
31 |
'model/propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
32 |
'model/jakes-propagation-loss-model.h', |
8786
8f366d5eee06
Bug 1140: fixed. New Jakes model has been implemented.
Kirill Andreev <andreev@telum.ru>
parents:
8739
diff
changeset
|
33 |
'model/jakes-process.h', |
8f366d5eee06
Bug 1140: fixed. New Jakes model has been implemented.
Kirill Andreev <andreev@telum.ru>
parents:
8739
diff
changeset
|
34 |
'model/propagation-cache.h', |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
35 |
'model/cost231-propagation-loss-model.h', |
8734
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
36 |
'model/propagation-environment.h', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
37 |
'model/okumura-hata-propagation-loss-model.h', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
38 |
'model/itu-r-1411-los-propagation-loss-model.h', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
39 |
'model/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h', |
8735
b4a468ff2aad
revised buildings+propagation after review by Pavel http://codereview.appspot.com/5728062/
Nicola Baldo <nbaldo@cttc.es>
parents:
8734
diff
changeset
|
40 |
'model/kun-2600-mhz-propagation-loss-model.h', |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
41 |
] |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
42 |
|
7028
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
43 |
if (bld.env['ENABLE_EXAMPLES']): |
9277
0f87d1cb030c
Upgrade waf to 1.7.10 and fix included wscripts
Vedran Miletić <rivanvx@gmail.com>
parents:
8786
diff
changeset
|
44 |
bld.recurse('examples') |
7028
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
45 |
|
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6823
diff
changeset
|
46 |
bld.ns3_python_bindings() |