Skip to content
Snippets Groups Projects
Commit 3ec2b25c authored by Jan Möbius's avatar Jan Möbius
Browse files

Don't print headers for plugin configuration states with no plugins in them


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11327 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d069a8ba
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ function (of_print_plugin_stats)
message ("")
# Print all plugins, which have no cmake build system
if ( NOT PLUGINS_NO_CMAKE EQUAL "" )
if ( NOT ${PLUGINS_NO_CMAKE} EQUAL "" )
acg_color_message ("\n${_escape}[4mPlugins without cmake build system:${_escape}[0m\n")
foreach (_plugin ${PLUGINS_NO_CMAKE})
string (REPLACE "Plugin-" "" _plugin_name ${_plugin})
......@@ -105,10 +105,12 @@ function (of_print_plugin_stats)
acg_color_message (" ${_plugin_name}: ${_escape}[1;34mNo CMake build system${_escape}[0m")
endforeach ()
endif()
message ("")
endif()
# Print all plugins, which are ok
if ( NOT PLUGINS_OK EQUAL "" )
acg_color_message ("\n${_escape}[4mPlugins configured successfully:${_escape}[0m\n")
......@@ -119,12 +121,14 @@ function (of_print_plugin_stats)
acg_color_message (" ${_plugin_name}: ${_escape}[1;32mYes${_escape}[0m")
endforeach ()
endif()
message ("")
endif()
# Print all plugins, which are disabled
if ( NOT PLUGINS_DISABLED EQUAL "" )
if ( NOT ${PLUGINS_DISABLED} EQUAL "" )
acg_color_message ("\n${_escape}[4mPlugins disabled:${_escape}[0m\n")
foreach (_plugin ${PLUGINS_DISABLED})
string (REPLACE "Plugin-" "" _plugin_name ${_plugin})
......@@ -133,12 +137,14 @@ function (of_print_plugin_stats)
acg_color_message (" ${_plugin_name}: ${_escape}[1;34mDisabled${_escape}[0m")
endforeach ()
endif()
message ("")
endif()
# Print all plugins, which have missing dependencies
if ( NOT PLUGINS_DEPENDENCIES EQUAL "" )
if ( NOT ${PLUGINS_DEPENDENCIES} EQUAL "" )
acg_color_message ("\n${_escape}[4mPlugins with missing dependencies:${_escape}[0m\n")
foreach (_plugin ${PLUGINS_DEPENDENCIES})
string (REPLACE "Plugin-" "" _plugin_name ${_plugin})
......@@ -147,11 +153,13 @@ function (of_print_plugin_stats)
acg_color_message (" ${_plugin_name}: ${_escape}[1;31mNo${_escape}[0m (Missing dependencies :${_${_PLUGIN}_MISSING_DEPS})")
endforeach ()
message ("")
endif()
if ( NOT WIN32 )
message ("")
message("\n${_escape}[4mCurrent Build Type:${_escape}[0m ${_escape}[1;34m ${CMAKE_BUILD_TYPE} ${_escape}[0m")
message("${_escape}[4mCurrent Build Type:${_escape}[0m ${_escape}[1;34m ${CMAKE_BUILD_TYPE} ${_escape}[0m")
endif()
message ("")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment