CalamaresAddPlugin more relevant output.
This commit is contained in:
parent
5ea0ade4ce
commit
ca247c26ca
@ -16,15 +16,17 @@ function(calamares_add_plugin)
|
|||||||
|
|
||||||
include(CMakeColors)
|
include(CMakeColors)
|
||||||
message("-- ${BoldYellow}Found ${CALAMARES_APPLICATION_NAME} module: ${BoldRed}${PLUGIN_NAME}${ColorReset}")
|
message("-- ${BoldYellow}Found ${CALAMARES_APPLICATION_NAME} module: ${BoldRed}${PLUGIN_NAME}${ColorReset}")
|
||||||
message(" ${Green}SOURCES:${ColorReset} ${PLUGIN_SOURCES}")
|
if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
|
||||||
message(" ${Green}LINK_LIBRARIES:${ColorReset} ${PLUGIN_LINK_LIBRARIES}")
|
message(" ${Green}SOURCES:${ColorReset} ${PLUGIN_SOURCES}")
|
||||||
message(" ${Green}UI:${ColorReset} ${PLUGIN_UI}")
|
message(" ${Green}LINK_LIBRARIES:${ColorReset} ${PLUGIN_LINK_LIBRARIES}")
|
||||||
message(" ${Green}TYPE:${ColorReset} ${PLUGIN_TYPE}")
|
message(" ${Green}UI:${ColorReset} ${PLUGIN_UI}")
|
||||||
message(" ${Green}EXPORT_MACRO:${ColorReset} ${PLUGIN_EXPORT_MACRO}")
|
message(" ${Green}TYPE:${ColorReset} ${PLUGIN_TYPE}")
|
||||||
message(" ${Green}NO_INSTALL:${ColorReset} ${PLUGIN_NO_INSTALL}")
|
message(" ${Green}EXPORT_MACRO:${ColorReset} ${PLUGIN_EXPORT_MACRO}")
|
||||||
message(" ${Green}CONFIG_FILE:${ColorReset} ${PLUGIN_CONFIG_FILE}")
|
message(" ${Green}NO_INSTALL:${ColorReset} ${PLUGIN_NO_INSTALL}")
|
||||||
message(" ${Green}PLUGIN_DESTINATION:${ColorReset} ${PLUGIN_DESTINATION}")
|
message(" ${Green}CONFIG_FILE:${ColorReset} ${PLUGIN_CONFIG_FILE}")
|
||||||
|
message(" ${Green}PLUGIN_DESTINATION:${ColorReset} ${PLUGIN_DESTINATION}")
|
||||||
|
message("")
|
||||||
|
endif()
|
||||||
# create target name once for convenience
|
# create target name once for convenience
|
||||||
set(target "calamares_${PLUGIN_TYPE}_${PLUGIN_NAME}")
|
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}")
|
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})
|
calamares_add_library(${calamares_add_library_args})
|
||||||
|
|
||||||
configure_file(${PLUGIN_CONFIG_FILE} ${PLUGIN_CONFIG_FILE} COPYONLY)
|
configure_file(${PLUGIN_CONFIG_FILE} ${PLUGIN_CONFIG_FILE} COPYONLY)
|
||||||
|
Loading…
Reference in New Issue
Block a user