merge with trunk

This commit is contained in:
Mathieu Lacage
2007-08-08 14:00:45 +02:00
3 changed files with 15 additions and 5 deletions

View File

@@ -222,7 +222,9 @@ HighPrecision::Compare (HighPrecision const &o) const
HP128INC (m_nslowcmps);
return SlowCompare (o);
}
// The below statement is unreachable but necessary for optimized
// builds with gcc-4.0.x due to a compiler bug.
return 0;
}
HighPrecision
HighPrecision::Zero (void)

View File

@@ -47,11 +47,18 @@ def configure(conf):
## Used to link the 'run-tests' program with all of ns-3 code
conf.env['NS3_MODULES'] = ['ns3-' + module.split('/')[-1] for module in all_modules]
def create_ns3_module(bld, name, dependencies=()):
module = bld.create_obj('cpp', 'shlib')
module.name = 'ns3-' + name
module.target = module.name
module.uselib_local = ['ns3-' + dep for dep in dependencies]
return module
def build(bld):
Object.register('ns3header', Ns3Header)
Action.Action('ns3header', func=_ns3_headers_inst, color='BLUE')
bld.create_ns3_module = create_ns3_module
bld.add_subdirs(list(all_modules))

View File

@@ -144,6 +144,10 @@ def build(bld):
run_shell()
raise SystemExit(0)
if Params.g_options.doxygen:
doxygen()
raise SystemExit(0)
check_shell()
# process subfolders from here
@@ -166,9 +170,6 @@ def shutdown():
if Params.g_options.lcov_report:
lcov_report()
if Params.g_options.doxygen:
doxygen()
if Params.g_options.run:
run_program(Params.g_options.run, Params.g_options.command_template)
raise SystemExit(0)