-
Notifications
You must be signed in to change notification settings - Fork 0
/
wscript
43 lines (35 loc) · 1.24 KB
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
# def options(opt):
# pass
# def configure(conf):
# conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H')
def build(bld):
module = bld.create_ns3_module('wildfire', ['applications', 'mobility'])
module.source = [
'model/wildfire-server.cc',
'model/wildfire-client.cc',
'model/wildfire-message.cc',
'model/wildfire-mobility-model.cc',
'helper/wildfire-helper.cc',
]
module_test = bld.create_ns3_module_test_library('wildfire')
module_test.source = [
'test/wildfire-test-suite.cc',
]
# Tests encapsulating example programs should be listed here
if (bld.env['ENABLE_EXAMPLES']):
module_test.source.extend([
# 'test/wildfire-examples-test-suite.cc',
])
headers = bld(features='ns3header')
headers.module = 'wildfire'
headers.source = [
'model/wildfire-server.h',
'model/wildfire-client.h',
'model/wildfire-message.h',
'model/wildfire-mobility-model.h',
'helper/wildfire-helper.h',
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
# bld.ns3_python_bindings()