wip more build script, add signing

This commit is contained in:
Chris Marsh
2017-11-28 10:27:40 -08:00
parent 9130707086
commit 7c3e28870e
3 changed files with 88 additions and 14 deletions

View File

@ -128,3 +128,7 @@ install(
"../include/discord-rpc.h"
DESTINATION "include"
)
if (SIGNTOOL_EXECUTABLE)
install(CODE "execute_process(COMMAND python ${CMAKE_SOURCE_DIR}/build.py sign --tool \"${SIGNTOOL_EXECUTABLE}\" \"${CMAKE_INSTALL_PREFIX}/bin\")")
endif(SIGNTOOL_EXECUTABLE)