Upgrade to WAF 1.5.5

This commit is contained in:
Gustavo J. A. M. Carneiro
2009-04-20 17:39:54 +01:00
parent 1643605078
commit 21914357fb
6 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ def configure(conf):
"library 'libxml-2.0 >= 2.7' not found")
conf.sub_config('stats')
conf.write_config_header('ns3/contrib-config.h')
conf.write_config_header('ns3/contrib-config.h', project_root_relative=True)
def build(bld):
module = bld.create_ns3_module('contrib', ['simulator', 'common'])

View File

@@ -41,7 +41,7 @@ int main ()
conf.env['ENABLE_THREADING'],
"<pthread.h> include not detected")
conf.write_config_header('ns3/core-config.h')
conf.write_config_header('ns3/core-config.h', project_root_relative=True)
def build(bld):
core = bld.create_ns3_module('core')

View File

@@ -31,7 +31,7 @@ def configure(conf):
conf.check(header_name='sys/inttypes.h', define_name='HAVE_SYS_INT_TYPES_H')
conf.write_config_header('ns3/simulator-config.h')
conf.write_config_header('ns3/simulator-config.h', project_root_relative=True)
if not conf.check(lib='rt', uselib='RT', define_name='HAVE_RT'):
conf.report_optional_feature("RealTime", "Real Time Simulator",

View File

@@ -67,7 +67,7 @@ def configure(conf):
def create_ns3_module(bld, name, dependencies=()):
module = bld.new_task_gen('cxx', 'objects')
module = bld.new_task_gen('cxx')
module.name = 'ns3-' + name
module.target = module.name
module.add_objects = ['ns3-' + dep for dep in dependencies]

BIN
waf vendored

Binary file not shown.

View File

@@ -499,7 +499,7 @@ def check(bld):
"run the NS-3 unit tests"
Scripting.build(bld)
## generate the trace sources list docs
env = bld.env
env = wutils.bld.env
proc_env = wutils.get_proc_env()
try:
program_obj = wutils.find_program('print-introspected-doxygen', env)