author | Mitch Watrous <watrous@u.washington.edu> |
Thu, 24 Mar 2011 16:46:49 -0700 | |
changeset 6949 | 8167c9e2a12d |
parent 6932 | 3b497f4f6ad9 |
child 7028 | 3963d3678649 |
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', |
6949
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
11 |
] |
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
12 |
|
8167c9e2a12d
Create test module libraries for some modules
Mitch Watrous <watrous@u.washington.edu>
parents:
6932
diff
changeset
|
13 |
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
|
14 |
module_test.source = [ |
6794
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
15 |
'test/propagation-loss-model-test-suite.cc', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
16 |
] |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
17 |
|
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
18 |
headers = bld.new_task_gen('ns3header') |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
19 |
headers.module = 'propagation' |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
20 |
headers.source = [ |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
21 |
'model/propagation-delay-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
22 |
'model/propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
23 |
'model/jakes-propagation-loss-model.h', |
5dce93cfc499
create propagation module; move files from common module
Tom Henderson <tomh@tomh.org>
parents:
diff
changeset
|
24 |
'model/cost231-propagation-loss-model.h', |
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 |
|
6932
3b497f4f6ad9
Add more modular bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
6823
diff
changeset
|
27 |
bld.ns3_python_bindings() |