enable emu-related files based on waf configuration check results

This commit is contained in:
Tom Henderson
2014-07-05 09:51:04 -07:00
parent 4078d90539
commit b3a080b633
2 changed files with 5 additions and 3 deletions

View File

@@ -41,5 +41,5 @@ def build(bld):
['lte'])
obj.source = 'lena-x2-handover-measures.cc'
obj = bld.create_ns3_program('lena-simple-epc-emu',
['lte'])
['lte', 'emu'])
obj.source = 'lena-simple-epc-emu.cc'

View File

@@ -41,7 +41,6 @@ def build(bld):
'helper/lte-stats-calculator.cc',
'helper/epc-helper.cc',
'helper/point-to-point-epc-helper.cc',
'helper/emu-epc-helper.cc',
'helper/radio-bearer-stats-calculator.cc',
'helper/radio-bearer-stats-connector.cc',
'helper/phy-stats-calculator.cc',
@@ -198,7 +197,6 @@ def build(bld):
'helper/lte-stats-calculator.h',
'helper/epc-helper.h',
'helper/point-to-point-epc-helper.h',
'helper/emu-epc-helper.h',
'helper/phy-stats-calculator.h',
'helper/mac-stats-calculator.h',
'helper/phy-tx-stats-calculator.h',
@@ -267,6 +265,10 @@ def build(bld):
'model/lte-anr.h',
]
if (bld.env['ENABLE_EMU']):
module.source.append ('helper/emu-epc-helper.cc')
headers.source.append ('helper/emu-epc-helper.h')
if (bld.env['ENABLE_EXAMPLES']):
bld.recurse('examples')