tutorial/wscript
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 17 Apr 2008 15:40:25 -0700
changeset 2971 75780f899be3
parent 2817 edb3d28c7f9a
child 3260 8c0ab08144e6
permissions -rw-r--r--
output the initial value of the attributes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1502
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     2
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     3
def build(bld):
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
     4
    obj = bld.create_ns3_program('hello-simulator', ['simulator'])
1502
4b4799567e2a add tutorial directory and hello-simulator
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     5
    obj.source = 'hello-simulator.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
     6
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
     7
    obj = bld.create_ns3_program('tutorial-csma-echo', ['internet-node', 'csma'])
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
     8
    obj.source = 'tutorial-csma-echo.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
     9
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    10
    obj = bld.create_ns3_program('tutorial-csma-echo-ascii-trace', ['internet-node', 'csma'])
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
    11
    obj.source = 'tutorial-csma-echo-ascii-trace.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    12
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    13
    obj = bld.create_ns3_program('tutorial-csma-echo-pcap-trace', ['internet-node', 'csma'])
1539
69d32521f6b8 tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1529
diff changeset
    14
    obj.source = 'tutorial-csma-echo-pcap-trace.cc'
1529
042ae54d795c tutorial files
Craig Dowell <craigdo@ee.washington.edu>
parents: 1502
diff changeset
    15
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    16
    obj = bld.create_ns3_program('tutorial-point-to-point', ['internet-node', 'point-to-point'])
1841
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    17
    obj.source = 'tutorial-point-to-point.cc'
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    18
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    19
    obj = bld.create_ns3_program('tutorial-star', ['internet-node', 'point-to-point'])
2817
edb3d28c7f9a port to helper API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2808
diff changeset
    20
    obj.source = ['tutorial-star.cc']
1841
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    21
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    22
    obj = bld.create_ns3_program('tutorial-star-routing', ['internet-node', 'point-to-point'])
2817
edb3d28c7f9a port to helper API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2808
diff changeset
    23
    obj.source = ['tutorial-star-routing.cc']
1842
a6b327e4b547 topologies
Craig Dowell <craigdo@ee.washington.edu>
parents: 1841
diff changeset
    24
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    25
    obj = bld.create_ns3_program('tutorial-linear-dumbbell', ['internet-node', 'point-to-point'])
1841
afa9089bcab4 support for star network, example in tutorial
Craig Dowell <craigdo@ee.washington.edu>
parents: 1838
diff changeset
    26
    obj.source = 'tutorial-linear-dumbbell.cc'
1835
ccd0fc4d9bf8 prototype address and network allocation
Craig Dowell <craigdo@ee.washington.edu>
parents: 1539
diff changeset
    27
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    28
    obj = bld.create_ns3_program('testipv4', ['node'])
2808
4c4d315e1ad7 kill now-useless code.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1858
diff changeset
    29
    obj.source = ['testipv4.cc']
1844
9fe7ff742494 bus network
Craig Dowell <craigdo@ee.washington.edu>
parents: 1842
diff changeset
    30
1858
68e1964c19e8 WAF: add a new --enable-modules configure option, to tell WAF to build only the specified set of ns-3 modules and its dependencies; programs depending on those modules are automatically excluded from the build.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 1848
diff changeset
    31
    obj = bld.create_ns3_program('tutorial-bus-network', ['internet-node'])
2808
4c4d315e1ad7 kill now-useless code.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1858
diff changeset
    32
    obj.source = ['tutorial-bus-network.cc']