WAF: derive the variable NS3_MODULES from the 'all_modules' list in src/wscript, instead of requiring every module to define a configure function to register themselves. This way module registration is done in one place only: src/wscript. Requires module naming conventions, though.
This commit is contained in:
@@ -15,8 +15,6 @@ def set_options(opt):
|
||||
|
||||
|
||||
def configure(conf):
|
||||
conf.env.append_value('NS3_MODULES', 'ns3-simulator')
|
||||
|
||||
if Params.g_options.high_precision_as_double:
|
||||
conf.add_define('USE_HIGH_PRECISION_DOUBLE', 1)
|
||||
conf.env['USE_HIGH_PRECISION_DOUBLE'] = 1
|
||||
|
||||
Reference in New Issue
Block a user