1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-13 08:05:52 +01:00

Add targets for packaging DMG and InnoSetup

Fixes configure.sh

Fixes Windows code signing

Fixes an issue with conan cache on windows

Fixes build manual script

Fixes build manual

Remove unused props

Use long options

Yet another manual fix

Fixes iss
This commit is contained in:
Dmitry Vedenko
2021-06-15 16:13:28 +03:00
committed by Dmitry Vedenko
parent d21ee922e1
commit 6da25e1646
17 changed files with 664 additions and 64 deletions

View File

@@ -534,6 +534,42 @@ file( WRITE "${CMAKE_CURRENT_BINARY_DIR}/modules.dot" "digraph {
execute_process( COMMAND
dot -O -Tsvg "${CMAKE_CURRENT_BINARY_DIR}/modules.dot" )
#
# Code signing
#
cmd_option( ${_OPT}perform_codesign
"Perform code signing during the install step. This only works on Windows and macOS."
Off
)
cmake_dependent_option(
${_OPT}perform_notarization
"Perform notarization during the install step. This only works on macOS."
Off
"${_OPT}perform_codesign;APPLE"
Off
)
if( ${_OPT}perform_codesign )
include( AudacityCodeSigning )
endif()
#
# Packaging
#
cmd_option( ${_OPT}package_manual
"Package the manual along with the DMG and InnoSetup targets"
Off
)
# Variables, that are common for all package targets
if( CMAKE_SYSTEM_NAME MATCHES "Windows" )
include( AudacityInnoSetup )
endif()
# Uncomment what follows for symbol values.
#[[
get_cmake_property( _variableNames VARIABLES )