Add exe signing support to release-tool

* Add automatic portable zip building
* Cleanup build variables
* Align command line parameters between modes
This commit is contained in:
Jonathan White 2018-07-08 19:47:35 -04:00 committed by Jonathan White
parent a025bcd7db
commit 4b51b39a83
2 changed files with 70 additions and 48 deletions

View file

@ -345,7 +345,7 @@ if(MINGW)
string(REGEX REPLACE "-snapshot$" "" KEEPASSXC_VERSION_CLEAN ${KEEPASSXC_VERSION})
set(CPACK_GENERATOR "ZIP;NSIS")
set(CPACK_STRIP_FILES ON)
set(CPACK_STRIP_FILES OFF)
set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSXC_VERSION}-${OUTPUT_FILE_POSTFIX}")
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${PROGNAME})
set(CPACK_PACKAGE_VERSION ${KEEPASSXC_VERSION_CLEAN})