author | Tom Henderson <tomh@tomh.org> |
Mon, 28 Sep 2015 20:27:25 -0700 | |
changeset 11676 | 05ea1489e509 |
parent 11462 | a2f15a2a21f2 |
permissions | -rw-r--r-- |
5369
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
2 |
|
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
3 |
def build(bld): |
6653
d06d7b84d8b4
hello-simulator.cc depends on core module
Tom Henderson <tomh@tomh.org>
parents:
6020
diff
changeset
|
4 |
obj = bld.create_ns3_program('hello-simulator', ['core']) |
5369
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
5 |
obj.source = 'hello-simulator.cc' |
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
6 |
|
6873
b2234c2d38d9
Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents:
6834
diff
changeset
|
7 |
obj = bld.create_ns3_program('first', ['core', 'point-to-point', 'internet', 'applications']) |
5369
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
8 |
obj.source = 'first.cc' |
7094
f0748224dd68
Write a status file during waf build step
Mitch Watrous <watrous@u.washington.edu>
parents:
6914
diff
changeset
|
9 |
|
7101
cbdd99081786
Make Python examples use new modular bindings
Mitch Watrous <watrous@u.washington.edu>
parents:
7096
diff
changeset
|
10 |
bld.register_ns3_script('first.py', ['internet', 'point-to-point', 'applications']) |
5369
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
11 |
|
6914
c5c12be4c86a
Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents:
6873
diff
changeset
|
12 |
obj = bld.create_ns3_program('second', ['core', 'point-to-point', 'csma', 'internet', 'applications']) |
5369
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
13 |
obj.source = 'second.cc' |
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
14 |
|
11462
a2f15a2a21f2
add second.py and third.py Python examples
Mohit P. Tahiliani <tahiliani.nitk@gmail.com>
parents:
10824
diff
changeset
|
15 |
bld.register_ns3_script('second.py', ['core', 'point-to-point', 'csma', 'internet', 'applications']) |
a2f15a2a21f2
add second.py and third.py Python examples
Mohit P. Tahiliani <tahiliani.nitk@gmail.com>
parents:
10824
diff
changeset
|
16 |
|
10824
c5f41363f688
Bug 1941 - [partial] Remove unnecessary dependency on Application module in other modules
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents:
10118
diff
changeset
|
17 |
obj = bld.create_ns3_program('third', ['core', 'point-to-point', 'csma', 'wifi', 'internet', 'applications']) |
5369
86beb5869f67
split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
18 |
obj.source = 'third.cc' |
5382
0a46f4d86040
Words about tracing in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents:
5369
diff
changeset
|
19 |
|
11462
a2f15a2a21f2
add second.py and third.py Python examples
Mohit P. Tahiliani <tahiliani.nitk@gmail.com>
parents:
10824
diff
changeset
|
20 |
bld.register_ns3_script('third.py', ['core', 'point-to-point', 'csma', 'wifi', 'internet', 'applications']) |
a2f15a2a21f2
add second.py and third.py Python examples
Mohit P. Tahiliani <tahiliani.nitk@gmail.com>
parents:
10824
diff
changeset
|
21 |
|
5382
0a46f4d86040
Words about tracing in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents:
5369
diff
changeset
|
22 |
obj = bld.create_ns3_program('fourth', ['core']) |
0a46f4d86040
Words about tracing in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents:
5369
diff
changeset
|
23 |
obj.source = 'fourth.cc' |
5432
2cb21147d154
fill out tutorial tracing section with semi-real plot
Craig Dowell <craigdo@ee.washington.edu>
parents:
5382
diff
changeset
|
24 |
|
6873
b2234c2d38d9
Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents:
6834
diff
changeset
|
25 |
obj = bld.create_ns3_program('fifth', ['core', 'point-to-point', 'internet', 'applications']) |
5432
2cb21147d154
fill out tutorial tracing section with semi-real plot
Craig Dowell <craigdo@ee.washington.edu>
parents:
5382
diff
changeset
|
26 |
obj.source = 'fifth.cc' |
6020
f8212529e82a
add sixth tutorial example for mid-level tracing helpers
Craig Dowell <craigdo@ee.washington.edu>
parents:
5432
diff
changeset
|
27 |
|
6873
b2234c2d38d9
Fix dependencies in various wscripts
Mitch Watrous <watrous@u.washington.edu>
parents:
6834
diff
changeset
|
28 |
obj = bld.create_ns3_program('sixth', ['core', 'point-to-point', 'internet', 'applications']) |
6020
f8212529e82a
add sixth tutorial example for mid-level tracing helpers
Craig Dowell <craigdo@ee.washington.edu>
parents:
5432
diff
changeset
|
29 |
obj.source = 'sixth.cc' |
10118
848770c90669
data collection extensions for stats module
Tom Henderson <tomh@tomh.org>
parents:
7101
diff
changeset
|
30 |
|
848770c90669
data collection extensions for stats module
Tom Henderson <tomh@tomh.org>
parents:
7101
diff
changeset
|
31 |
obj = bld.create_ns3_program('seventh', ['core', 'stats', 'point-to-point', 'internet', 'applications']) |
848770c90669
data collection extensions for stats module
Tom Henderson <tomh@tomh.org>
parents:
7101
diff
changeset
|
32 |
obj.source = 'seventh.cc' |