Skip to content

Commit 411bd83

Browse files
committed
Add debug_and_release for separate build dirs
1 parent 34e4d6e commit 411bd83

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Jamulus.pro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ contains(VERSION, .*dev.*) {
2929
CONFIG += qt \
3030
thread \
3131
lrelease \
32-
embed_translations
32+
embed_translations \
33+
debug_and_release
3334

3435
QT += network \
3536
xml \

mac/deploy_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ build_app() {
5555
"QMAKE_APPLE_DEVICE_ARCHS=${target_arch}" "QT_ARCH=${target_arch}" \
5656
"${@:2}"
5757
make -f "${build_path}/Makefile" -C "${build_path}" -j "${job_count}"
58-
target_name=$(sed -nE 's/^QMAKE_TARGET *= *(.*)$/\1/p' "${build_path}/Makefile")
58+
target_name=$(sed -nE 's/^QMAKE_TARGET *= *(.*)$/\1/p' "${build_path}/Makefile.Release")
5959
if [[ ${#target_archs_array[@]} -gt 1 ]]; then
6060
# When building for multiple architectures, move the binary to a safe place to avoid overwriting/cleaning by the other passes.
6161
mv "${build_path}/${target_name}.app/Contents/MacOS/${target_name}" "${deploy_path}/${target_name}.arch_${target_arch}"

0 commit comments

Comments
 (0)