Migrates topology-reader helpers and examples to module directory
This commit is contained in:
@@ -6,7 +6,6 @@ def build(bld):
|
||||
'athstats-helper.cc',
|
||||
'animation-interface.cc',
|
||||
'canvas-location.cc',
|
||||
'topology-reader-helper.cc',
|
||||
]
|
||||
|
||||
headers = bld.new_task_gen('ns3header')
|
||||
@@ -15,7 +14,6 @@ def build(bld):
|
||||
'athstats-helper.h',
|
||||
'animation-interface.h',
|
||||
'canvas-location.h',
|
||||
'topology-reader-helper.h',
|
||||
]
|
||||
|
||||
env = bld.env_of_name('default')
|
||||
|
||||
@@ -62,7 +62,7 @@ int main (int argc, char *argv[])
|
||||
{
|
||||
|
||||
string format ("Inet");
|
||||
string input ("examples/topology-read/Inet_small_toposample.txt");
|
||||
string input ("src/topology-read/examples/Inet_small_toposample.txt");
|
||||
|
||||
// Set up command line parameters used to control the experiment.
|
||||
CommandLine cmd;
|
||||
@@ -7,6 +7,7 @@ def build(bld):
|
||||
'model/inet-topology-reader.cc',
|
||||
'model/orbis-topology-reader.cc',
|
||||
'model/rocketfuel-topology-reader.cc',
|
||||
'helper/topology-reader-helper.cc',
|
||||
]
|
||||
headers = bld.new_task_gen('ns3header')
|
||||
headers.module = 'topology-read'
|
||||
@@ -16,5 +17,8 @@ def build(bld):
|
||||
'model/inet-topology-reader.h',
|
||||
'model/orbis-topology-reader.h',
|
||||
'model/rocketfuel-topology-reader.h',
|
||||
'helper/topology-reader-helper.h',
|
||||
]
|
||||
|
||||
if bld.env['ENABLE_EXAMPLES']:
|
||||
bld.add_subdirs('examples')
|
||||
|
||||
Reference in New Issue
Block a user