Migrates topology-reader helpers and examples to module directory

This commit is contained in:
Lalith Suresh
2011-03-05 00:55:35 +00:00
parent 55ff64eb70
commit add3e9da99
11 changed files with 5 additions and 3 deletions

View File

@@ -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')

View File

@@ -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;

View File

@@ -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')