mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 01:22:28 +00:00
Utilities/Release: Enable signing of Windows release binaries
This commit is contained in:
parent
29f4f70b41
commit
9a34031081
@ -44,6 +44,7 @@ CMake_QT_STATIC_QXcbIntegrationPlugin_LIBRARIES:STRING=${qt_xcb_libs}
|
||||
set(ENV [[
|
||||
export CMAKE_PREFIX_PATH=/opt/binutils-2.31
|
||||
]])
|
||||
set(SIGN "")
|
||||
|
||||
# Exclude Qt5 tests because our Qt5 is static.
|
||||
set(EXTRA_CTEST_ARGS "-E Qt5")
|
||||
|
@ -29,5 +29,6 @@ CMake_TEST_NO_FindPackageModeMakefileTest:BOOL=TRUE
|
||||
set(ENV [[
|
||||
export CMAKE_PREFIX_PATH='/Users/kitware/SDKs/qt-5.6.2-clang-x64'
|
||||
]])
|
||||
set(SIGN "")
|
||||
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
include(${path}/release_cmake.cmake)
|
||||
|
@ -150,7 +150,7 @@ for GEN in $generators; do
|
||||
check_exit_value $? "Create $GEN package" || exit 1
|
||||
done
|
||||
|
||||
|
||||
@SIGN@
|
||||
|
||||
echo "End release"
|
||||
date
|
||||
|
@ -45,5 +45,9 @@ set(GIT_EXTRA "git config core.autocrlf true")
|
||||
if(CMAKE_CREATE_VERSION STREQUAL "nightly")
|
||||
# Some tests fail spuriously too often.
|
||||
set(EXTRA_CTEST_ARGS "-E 'ConsoleBuf|Module.ExternalData'")
|
||||
set(SIGN "")
|
||||
else()
|
||||
string(APPEND INITIAL_CACHE "CMake_INSTALL_SIGNTOOL:STRING=signtool\n")
|
||||
set(SIGN [[signtool sign -v -a -tr http://timestamp.digicert.com -fd sha256 -td sha256 -d "CMake Windows Installer" cmake-*.msi]])
|
||||
endif()
|
||||
include(${path}/release_cmake.cmake)
|
||||
|
@ -45,5 +45,9 @@ set(GIT_EXTRA "git config core.autocrlf true")
|
||||
if(CMAKE_CREATE_VERSION STREQUAL "nightly")
|
||||
# Some tests fail spuriously too often.
|
||||
set(EXTRA_CTEST_ARGS "-E 'ConsoleBuf|Module.ExternalData'")
|
||||
set(SIGN "")
|
||||
else()
|
||||
string(APPEND INITIAL_CACHE "CMake_INSTALL_SIGNTOOL:STRING=signtool\n")
|
||||
set(SIGN [[signtool sign -v -a -tr http://timestamp.digicert.com -fd sha256 -td sha256 -d "CMake Windows Installer" cmake-*.msi]])
|
||||
endif()
|
||||
include(${path}/release_cmake.cmake)
|
||||
|
Loading…
Reference in New Issue
Block a user