author | Nicola Baldo <nbaldo@cttc.es> |
Mon, 30 Apr 2012 17:27:01 +0200 | |
changeset 8735 | b4a468ff2aad |
parent 8734 | 403c6e61d201 |
child 8739 | d4a80ca13a60 |
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', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
10 |
'model/cost231-propagation-loss-model.cc', |
8734
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
11 |
'model/okumura-hata-propagation-loss-model.cc', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
12 |
'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
|
13 |
'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
|
14 |
'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
|
15 |
] |
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 |
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
|
18 |
module_test.source = [ |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
19 |
'test/propagation-loss-model-test-suite.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
20 |
] |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
21 |
|
7487
82cd20da9650
Upgrade to waf-1.6.7, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
7028
diff
changeset
|
22 |
headers = bld.new_task_gen(features=['ns3header']) |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
23 |
headers.module = 'propagation' |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
24 |
headers.source = [ |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
25 |
'model/propagation-delay-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
26 |
'model/propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
27 |
'model/jakes-propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
28 |
'model/cost231-propagation-loss-model.h', |
8734
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
29 |
'model/propagation-environment.h', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
30 |
'model/okumura-hata-propagation-loss-model.h', |
403c6e61d201
decouple most propagation models from buildings module
Nicola Baldo <nbaldo@cttc.es>
parents:
8253
diff
changeset
|
31 |
'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
|
32 |
'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
|
33 |
'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
|
34 |
] |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
35 |
|
7028
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
36 |
if (bld.env['ENABLE_EXAMPLES']): |
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
37 |
bld.add_subdirs('examples') |
3963d3678649
Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents:
6949
diff
changeset
|
38 |
|
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6823
diff
changeset
|
39 |
bld.ns3_python_bindings() |