From e50e28468c33fc3ec56c712f458b5a83c6c5f731 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 12 Jan 2016 16:03:36 -0800 Subject: [PATCH] add a status message for executable signing --- cmake/macros/OptionalWinExecutableSigning.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake/macros/OptionalWinExecutableSigning.cmake b/cmake/macros/OptionalWinExecutableSigning.cmake index c8ed0e0d4b..998c57ccd8 100644 --- a/cmake/macros/OptionalWinExecutableSigning.cmake +++ b/cmake/macros/OptionalWinExecutableSigning.cmake @@ -29,7 +29,12 @@ macro(optional_win_executable_signing) /td SHA256 \${CMAKE_INSTALL_PREFIX}/${EXECUTABLE_NAME}" ) - install(CODE "execute_process(COMMAND ${SIGN_COMMAND})" COMPONENT ${EXECUTABLE_COMPONENT}) + install(CODE "\ + message(STATUS \"Signing ${EXECUTABLE_NAME} with signtool.\") + execute_process(COMMAND ${SIGN_COMMAND}) + " + COMPONENT ${EXECUTABLE_COMPONENT} + ) else () message(FATAL_ERROR "HF_PFX_PASSPHRASE must be set for executables to be signed.") endif ()