You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt4all/gpt4all-chat/cmake/Modules/SignWindowsBinaries.cmake

17 lines
589 B
CMake

function(sign_target_windows tgt)
if(WIN32 AND GPT4ALL_SIGN_INSTALL)
add_custom_command(TARGET ${tgt}
POST_BUILD
COMMAND AzureSignTool.exe sign
-du "https://gpt4all.io/index.html"
-kvu https://gpt4all.vault.azure.net
-kvi "$Env{AZSignGUID}"
-kvs "$Env{AZSignPWD}"
-kvc "$Env{AZSignCertName}"
-kvt "$Env{AZSignTID}"
-tr http://timestamp.digicert.com
-v
$<TARGET_FILE:${tgt}>
)
endif()
endfunction()