wscript
changeset 7066 948694386867
parent 7062 bfac4de27c06
child 7088 3f0535480de9
--- a/wscript	Mon Apr 18 12:10:18 2011 +0200
+++ b/wscript	Mon Apr 18 10:50:55 2011 -0700
@@ -610,13 +610,6 @@
 
         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']:
@@ -715,6 +708,13 @@
         return
     env = bld.env
 
+    # Print the enabled modules without the "ns3-" in their name.
+    modules_without_prefix =[mod[len('ns3-'):] for mod in env['NS3_ENABLED_MODULES']]
+    print
+    print 'Modules built:'
+    print ', '.join(modules_without_prefix)
+    print
+
     if Options.options.lcov_report:
         lcov_report()