author | Sébastien Deronne <sebastien.deronne@gmail.com> |
Sat, 08 Dec 2018 16:52:32 +0100 | |
changeset 13892 | 53fa9b4b8c09 |
parent 13114 | ba42ffbfbe1e |
permissions | -rw-r--r-- |
7360
5949904cf955
Bug 1172 Implement trivial XML output feature for Animation Interface
John Abraham <john.abraham@gatech.edu>
parents:
7089
diff
changeset
|
1 |
## -*-Mode : python; py-indent-offset : 4; indent-tabs-mode : nil; coding : utf-8; -*- |
6864 | 2 |
|
7681
0873edb445e8
Bug 1327 - Version installed ns-3 files
Gustavo Carneiro / Vedran Miletić
parents:
7563
diff
changeset
|
3 |
import wutils |
0873edb445e8
Bug 1327 - Version installed ns-3 files
Gustavo Carneiro / Vedran Miletić
parents:
7563
diff
changeset
|
4 |
|
7805
1680d3c31444
NetAnim: Required version
John Abraham <john.abraham@gatech.edu>
parents:
7753
diff
changeset
|
5 |
# Required NetAnim version |
12757
dec5c9887ada
[Bug 2191] Add IPv6 support to NetAnim
John Abraham <john.abraham.in@gmail.com>
parents:
12040
diff
changeset
|
6 |
NETANIM_RELEASE_NAME = "netanim-3.108" |
7805
1680d3c31444
NetAnim: Required version
John Abraham <john.abraham@gatech.edu>
parents:
7753
diff
changeset
|
7 |
|
11634
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
8 |
def build (bld) : |
13114
ba42ffbfbe1e
netanim: Add missing module dependency
Tom Henderson <tomh@tomh.org>
parents:
12765
diff
changeset
|
9 |
module = bld.create_ns3_module ('netanim', ['internet', 'mobility', 'wimax', 'wifi', 'csma', 'lte', 'uan', 'lr-wpan', 'energy', 'wave', 'point-to-point-layout']) |
11634
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
10 |
module.includes = '.' |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
11 |
module.source = [ 'model/animation-interface.cc', ] |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
12 |
netanim_test = bld.create_ns3_module_test_library('netanim') |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
13 |
netanim_test.source = ['test/netanim-test.cc', ] |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
14 |
headers = bld(features='ns3header') |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
15 |
headers.module = 'netanim' |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
16 |
headers.source = ['model/animation-interface.h', ] |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
17 |
if (bld.env['ENABLE_EXAMPLES']) : |
99173c0ad09b
port wscripts, test.py, and waf-tools to Python3
Siddharth Santurkar <siddharth.santurkar@ieee.org>
parents:
11224
diff
changeset
|
18 |
bld.recurse('examples') |
7805
1680d3c31444
NetAnim: Required version
John Abraham <john.abraham@gatech.edu>
parents:
7753
diff
changeset
|
19 |