examples/tutorial/wscript
author Craig Dowell <craigdo@ee.washington.edu>
Thu, 08 Oct 2009 00:16:55 -0700
changeset 5382 0a46f4d86040
parent 5369 86beb5869f67
child 5432 2cb21147d154
permissions -rw-r--r--
Words about tracing in tutorial
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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):
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     4
    obj = bld.create_ns3_program('hello-simulator')
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
        
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     7
    obj = bld.create_ns3_program('first', ['core', 'simulator', 'point-to-point', 'internet-stack'])
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'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     9
        
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    10
    obj = bld.create_ns3_program('second', ['core', 'simulator', 'point-to-point', 'csma', 'internet-stack'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    11
    obj.source = 'second.cc'
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    12
        
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    13
    obj = bld.create_ns3_program('third', ['core', 'simulator', 'point-to-point', 'csma', 'wifi', 'internet-stack'])
86beb5869f67 split examples, add examples, tweak test.py to minimize builds
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    14
    obj.source = 'third.cc'
5382
0a46f4d86040 Words about tracing in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 5369
diff changeset
    15
0a46f4d86040 Words about tracing in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 5369
diff changeset
    16
    obj = bld.create_ns3_program('fourth', ['core'])
0a46f4d86040 Words about tracing in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 5369
diff changeset
    17
    obj.source = 'fourth.cc'