WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2007-08-08 15:10:36 +01:00
1 parent a34d15da01
commit 0eca73234a
15 files changed
+83 -91

No files matched your search

+1 -4
View File
@@ -2,10 +2,7 @@
def build(bld):
obj = bld.create_obj('cpp', 'shlib')
obj.name = 'ns3-internet-node'
obj.target = obj.name
obj.uselib_local = ['ns3-node', 'ns3-applications']
obj = bld.create_ns3_module('internet-node', ['node', 'applications'])
obj.source = [
'internet-node.cc',
'ipv4-l4-demux.cc',