From 5dec11da22aa8ef881b94bad19a2e558dc513cf4 Mon Sep 17 00:00:00 2001 From: Adel KARA SLIMANE Date: Sun, 23 Jun 2024 20:49:39 +0200 Subject: [PATCH] Update MacOS deploy script --- deploy/macos-bundle-dmg.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/deploy/macos-bundle-dmg.sh b/deploy/macos-bundle-dmg.sh index 6bb15f6..9d23e62 100755 --- a/deploy/macos-bundle-dmg.sh +++ b/deploy/macos-bundle-dmg.sh @@ -1,9 +1,17 @@ #!/bin/bash deploy_dir=$(greadlink -f $(dirname "$BASH_SOURCE")) -[[ -f "${deploy_dir}/build-macos" ]] && rm -r "${deploy_dir}/build-macos" -meson setup "${deploy_dir}/build-macos" "${deploy_dir}/.." --prefix="${deploy_dir}/ZeGrapher.app" --bindir="Contents/MacOS" +meson setup \ + -D optimization=3 \ + -D debug=false \ + -D b_ndebug=true \ + -D debug_logs=false \ + --prefix="${deploy_dir}/ZeGrapher.app" \ + --bindir="Contents/MacOS" \ + "${deploy_dir}/build-macos" \ + "${deploy_dir}/.." + cd "${deploy_dir}/build-macos" meson compile meson install