31 lines
830 B
Python
31 lines
830 B
Python
## -*-Mode : python; py-indent-offset : 4; indent-tabs-mode : nil; coding : utf-8; -*-
|
|
|
|
import wutils
|
|
|
|
# Required NetAnim version
|
|
NETANIM_RELEASE_NAME = "netanim-3.101"
|
|
|
|
|
|
def build (bld) :
|
|
module = bld.create_ns3_module ('netanim', ['internet', 'mobility', 'wimax', 'wifi', 'csma', 'lte', 'uan'])
|
|
module.includes = '.'
|
|
module.source = [
|
|
'model/animation-interface.cc',
|
|
'helper/animation-interface-helper.cc',
|
|
]
|
|
netanim_test = bld.create_ns3_module_test_library('netanim')
|
|
netanim_test.source = [
|
|
'test/netanim-test.cc',
|
|
]
|
|
|
|
headers = bld.new_task_gen (features=['ns3header'])
|
|
headers.module = 'netanim'
|
|
headers.source = [
|
|
'model/animation-interface.h',
|
|
'helper/animation-interface-helper.h',
|
|
]
|
|
|
|
if (bld.env['ENABLE_EXAMPLES']) :
|
|
bld.add_subdirs ('examples')
|
|
|