forked from signetlabdei/qd-channel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwscript
31 lines (24 loc) · 881 Bytes
/
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
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('qd-channel', ['core', 'spectrum'])
module.source = [
'model/qd-channel-model.cc',
'model/qd-channel-utils.cc',
]
module_test = bld.create_ns3_module_test_library('qd-channel')
module_test.source = [
'test/qd-channel-test-suite.cc',
]
# Tests encapsulating example programs should be listed here
if (bld.env['ENABLE_EXAMPLES']):
module_test.source.extend([
# 'test/qd-channel-examples-test-suite.cc',
])
headers = bld(features='ns3header')
headers.module = 'qd-channel'
headers.source = [
'model/qd-channel-model.h',
'model/qd-channel-utils.h',
]
if bld.env.ENABLE_EXAMPLES:
bld.recurse('examples')