Commit 535673ec authored by Jan Möbius's avatar Jan Möbius

Plugin Configuration output:

Sort list of configured plugins
Add more spaces for longer plugin names



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11246 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 17416767
......@@ -55,6 +55,8 @@ function (of_print_plugin_stats)
"${CMAKE_SOURCE_DIR}/Plugin-*"
)
list (SORT _plugins_in)
foreach (_plugin ${_plugins_in})
string (REPLACE "Plugin-" "" _plugin_name ${_plugin})
string (TOUPPER ${_plugin_name} _PLUGIN)
......@@ -68,7 +70,7 @@ function (of_print_plugin_stats)
foreach (_plugin ${_plugins_in})
string (REPLACE "Plugin-" "" _plugin_name ${_plugin})
string (TOUPPER ${_plugin_name} _PLUGIN)
acg_format_string (${_plugin_name} 20 _plugin_name)
acg_format_string (${_plugin_name} 25 _plugin_name)
if (DISABLE_PLUGIN_${_PLUGIN})
acg_color_message (" ${_plugin_name}: ${_escape}[1;34mDisabled${_escape}[0m")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment