From 3a3673d9513b4ce381ea0b45bac4ae49f7cc0a1e Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Sun, 17 Apr 2011 18:58:45 -0700 Subject: [PATCH] Print modules to build list at beginning of waf build --- wscript | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/wscript b/wscript index 3cfbaaa4c..03ab4e368 100644 --- a/wscript +++ b/wscript @@ -463,11 +463,6 @@ def configure(conf): status = 'not enabled (%s)' % reason_not_enabled print "%-30s: %s" % (caption, status) - # Print all of the enabled modules without the "ns3-" in their name. - print - print 'Enabled modules =', str([mod[len('ns3-'):] for mod in conf.env['NS3_ENABLED_MODULES']]) - print - class SuidBuildTask(Task.TaskBase): """task that makes a binary Suid """ @@ -615,6 +610,13 @@ def build(bld): env['NS3_ENABLED_MODULES'] = modules + # Print the enabled modules without the "ns3-" in their name. + modules_without_prefix =[mod[len('ns3-'):] for mod in modules] + print + print 'Modules to build:' + print ', '.join(modules_without_prefix) + print + # If tests are being built, then set the list of the enabled # module test libraries. if env['ENABLE_TESTS']: