mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 00:23:32 +02:00
Remove audacity_
prefix from CMake options
It is unconventional and unnecessary to prefix CMake options. Also this is not Audacity anymore. :) Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
@@ -10,7 +10,7 @@ cmake_args=(
|
||||
-S .
|
||||
-B build
|
||||
-G "${AUDACITY_CMAKE_GENERATOR}"
|
||||
-D audacity_use_pch=no
|
||||
-D use_pch=no
|
||||
-D CMAKE_BUILD_TYPE="${AUDACITY_BUILD_TYPE}"
|
||||
-D CMAKE_INSTALL_PREFIX="${AUDACITY_INSTALL_PREFIX}"
|
||||
)
|
||||
@@ -36,26 +36,26 @@ fi
|
||||
if [[ -n "${APPLE_CODESIGN_IDENTITY}" && "${OSTYPE}" == darwin* ]]; then
|
||||
cmake_args+=(
|
||||
-D APPLE_CODESIGN_IDENTITY="${APPLE_CODESIGN_IDENTITY}"
|
||||
-D audacity_perform_codesign=yes
|
||||
-D perform_codesign=yes
|
||||
)
|
||||
|
||||
if [[ ${GIT_BRANCH} == release* ]]; then
|
||||
cmake_args+=(
|
||||
-D APPLE_NOTARIZATION_USER_NAME="${APPLE_NOTARIZATION_USER_NAME}"
|
||||
-D APPLE_NOTARIZATION_PASSWORD="${APPLE_NOTARIZATION_PASSWORD}"
|
||||
-D audacity_perform_notarization=yes
|
||||
-D perform_notarization=yes
|
||||
)
|
||||
fi
|
||||
elif [[ -n "${WINDOWS_CERTIFICATE}" && "${OSTYPE}" == msys* ]]; then
|
||||
# Windows certificate will be used from the environment
|
||||
cmake_args+=(
|
||||
-D audacity_perform_codesign=yes
|
||||
-D perform_codesign=yes
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ ${GIT_BRANCH} == release* ]]; then
|
||||
cmake_args+=(
|
||||
-D audacity_package_manual=yes
|
||||
-D package_manual=yes
|
||||
)
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user