Upgrade to WAF 1.5.5
This commit is contained in:
@@ -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'])
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user