Revision: 7779
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7779&view=rev
Author:   gbiggs
Date:     2009-06-04 00:42:45 +0000 (Thu, 04 Jun 2009)

Log Message:
-----------
Sort driver names before displaying them after configure. Readability goes 
through the roof.

Modified Paths:
--------------
    code/player/trunk/cmake/internal/DriverUtils.cmake

Modified: code/player/trunk/cmake/internal/DriverUtils.cmake
===================================================================
--- code/player/trunk/cmake/internal/DriverUtils.cmake  2009-06-04 00:04:56 UTC 
(rev 7778)
+++ code/player/trunk/cmake/internal/DriverUtils.cmake  2009-06-04 00:42:45 UTC 
(rev 7779)
@@ -462,13 +462,17 @@
     MESSAGE (STATUS "")
     MESSAGE (STATUS "===== Drivers =====")
     MESSAGE (STATUS "The following drivers will be built:")
-    FOREACH (_driverName ${PLAYER_BUILT_DRIVERS})
+    SET (_sortedDriverNames ${PLAYER_BUILT_DRIVERS})
+    LIST (SORT _sortedDriverNames)
+    FOREACH (_driverName ${_sortedDriverNames})
         MESSAGE (STATUS "${_driverName}")
     ENDFOREACH (_driverName)
     MESSAGE (STATUS "")
 
     MESSAGE (STATUS "The following drivers will not be built:")
-    FOREACH (_driverName ${PLAYER_NOT_BUILT_DRIVERS})
+    SET (_sortedDriverNames ${PLAYER_NOT_BUILT_DRIVERS})
+    LIST (SORT _sortedDriverNames)
+    FOREACH (_driverName ${_sortedDriverNames})
         GET_FROM_GLOBAL_MAP (_reason PLAYER_NOT_BUILT_REASONS ${_driverName})
         MESSAGE (STATUS "${_driverName} - ${_reason}")
     ENDFOREACH (_driverName)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to