forked from Aldalbahias/VLC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwscript
52 lines (44 loc) · 1.5 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
43
44
45
46
47
48
49
50
51
# -*- 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('vlcnew', ['core','network', 'mpi', 'mobility', 'propagation','point-to-point'])
module.source = [
'model/vlcnew.cc',
'helper/vlcnew-helper.cc',
'helper/vlcChannelHelper.cc',
'helper/vlcDeviceHelper.cc',
'model/vlcNetDevice.cc',
'model/vlcchannel.cc',
'model/vlcMobilityModel.cc',
'model/VlcPropagationLoss.cc',
'model/vlcNetDeviceRX.cc',
'model/vlcNetDeviceTX.cc',
'model/VLC_SNR.cc' ,
'model/VLC-error-model.cc' ,
]
module_test = bld.create_ns3_module_test_library('vlcnew')
module_test.source = [
'test/vlcnew-test-suite.cc',
]
headers = bld(features='ns3header')
headers.module = 'vlcnew'
headers.source = [
'model/vlcnew.h',
'helper/vlcnew-helper.h',
'helper/vlcChannelHelper.h',
'helper/vlcDeviceHelper.h',
'model/vlcNetDevice.h',
'model/vlcchannel.h',
'model/vlcMobilityModel.h',
'model/VlcPropagationLoss.h',
'model/vlcNetDeviceRX.h',
'model/vlcNetDeviceTX.h',
'model/VLC_SNR.h' ,
'model/VLC-error-model.h' ,
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')
# bld.ns3_python_bindings()