|
|
@ -15,15 +15,15 @@ function(calamares_add_plugin)
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
|
|
|
|
|
|
|
|
|
|
|
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(" ${BoldYellow}*${ColorReset} ${Green}SOURCES:${ColorReset} ${PLUGIN_SOURCES}")
|
|
|
|
message(" ${Green}SOURCES:${ColorReset} ${PLUGIN_SOURCES}")
|
|
|
|
message(" ${BoldYellow}*${ColorReset} ${Green}LINK_LIBRARIES:${ColorReset} ${PLUGIN_LINK_LIBRARIES}")
|
|
|
|
message(" ${Green}LINK_LIBRARIES:${ColorReset} ${PLUGIN_LINK_LIBRARIES}")
|
|
|
|
message(" ${BoldYellow}*${ColorReset} ${Green}UI:${ColorReset} ${PLUGIN_UI}")
|
|
|
|
message(" ${Green}UI:${ColorReset} ${PLUGIN_UI}")
|
|
|
|
message(" ${BoldYellow}*${ColorReset} ${Green}TYPE:${ColorReset} ${PLUGIN_TYPE}")
|
|
|
|
message(" ${Green}TYPE:${ColorReset} ${PLUGIN_TYPE}")
|
|
|
|
message(" ${BoldYellow}*${ColorReset} ${Green}EXPORT_MACRO:${ColorReset} ${PLUGIN_EXPORT_MACRO}")
|
|
|
|
message(" ${Green}EXPORT_MACRO:${ColorReset} ${PLUGIN_EXPORT_MACRO}")
|
|
|
|
message(" ${BoldYellow}*${ColorReset} ${Green}NO_INSTALL:${ColorReset} ${PLUGIN_NO_INSTALL}")
|
|
|
|
message(" ${Green}NO_INSTALL:${ColorReset} ${PLUGIN_NO_INSTALL}")
|
|
|
|
message(" ${BoldYellow}*${ColorReset} ${Green}CONFIG_FILE:${ColorReset} ${PLUGIN_CONFIG_FILE}")
|
|
|
|
message(" ${Green}CONFIG_FILE:${ColorReset} ${PLUGIN_CONFIG_FILE}")
|
|
|
|
message(" ${BoldYellow}*${ColorReset} ${Green}PLUGIN_DESTINATION:${ColorReset} ${PLUGIN_DESTINATION}")
|
|
|
|
message(" ${Green}PLUGIN_DESTINATION:${ColorReset} ${PLUGIN_DESTINATION}")
|
|
|
|
|
|
|
|
|
|
|
|
# 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}")
|
|
|
|