mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-23 07:28:21 -04:00
CalamaresAddPlugin more relevant output.
This commit is contained in:
parent
5ea0ade4ce
commit
ca247c26ca
1 changed files with 11 additions and 12 deletions
|
@ -16,6 +16,7 @@ function(calamares_add_plugin)
|
|||
|
||||
include(CMakeColors)
|
||||
message("-- ${BoldYellow}Found ${CALAMARES_APPLICATION_NAME} module: ${BoldRed}${PLUGIN_NAME}${ColorReset}")
|
||||
if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
|
||||
message(" ${Green}SOURCES:${ColorReset} ${PLUGIN_SOURCES}")
|
||||
message(" ${Green}LINK_LIBRARIES:${ColorReset} ${PLUGIN_LINK_LIBRARIES}")
|
||||
message(" ${Green}UI:${ColorReset} ${PLUGIN_UI}")
|
||||
|
@ -24,7 +25,8 @@ function(calamares_add_plugin)
|
|||
message(" ${Green}NO_INSTALL:${ColorReset} ${PLUGIN_NO_INSTALL}")
|
||||
message(" ${Green}CONFIG_FILE:${ColorReset} ${PLUGIN_CONFIG_FILE}")
|
||||
message(" ${Green}PLUGIN_DESTINATION:${ColorReset} ${PLUGIN_DESTINATION}")
|
||||
|
||||
message("")
|
||||
endif()
|
||||
# create target name once for convenience
|
||||
set(target "calamares_${PLUGIN_TYPE}_${PLUGIN_NAME}")
|
||||
|
||||
|
@ -58,9 +60,6 @@ function(calamares_add_plugin)
|
|||
|
||||
list(APPEND calamares_add_library_args "INSTALL_BINDIR" "${PLUGIN_DESTINATION}")
|
||||
|
||||
#message(" ${Green}CalamaresAddLibrary arguments:${ColorReset} ${calamares_add_library_args}")
|
||||
message("")
|
||||
|
||||
calamares_add_library(${calamares_add_library_args})
|
||||
|
||||
configure_file(${PLUGIN_CONFIG_FILE} ${PLUGIN_CONFIG_FILE} COPYONLY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue