Print enabled modules list at end of waf configure
authorMitch Watrous <watrous@u.washington.edu>
Fri, 15 Apr 2011 09:06:01 -0700
changeset 7026 b1e7e65c842c
parent 7025 32212c736ab4
child 7027 169e09e9428d
child 7028 3963d3678649
Print enabled modules list at end of waf configure
wscript
--- a/wscript	Thu Apr 14 14:22:09 2011 -0700
+++ b/wscript	Fri Apr 15 09:06:01 2011 -0700
@@ -463,6 +463,10 @@
             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
@@ -610,7 +614,6 @@
                         changed = True
 
         env['NS3_ENABLED_MODULES'] = modules
-        #print "Modules to build:", modules
 
         # If tests are being built, then set the list of the enabled
         # module test libraries.