From 408d0bcd48695d0d93215724bc6018ce391b70d3 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Mon, 10 Jun 2024 07:51:05 +0200 Subject: [PATCH] MacOS build more verbose --- .github/release.yml | 3 +++ INSTALL.md | 4 ++++ scripts/darwin/build.sh | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/release.yml b/.github/release.yml index d62e3abf..218572c4 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -11,6 +11,9 @@ changelog: - title: Exciting New Features 🎉 labels: - enhancement + - title: Build pipeline 🛠 + labels: + - Build pipeline - title: Other Changes labels: - "*" \ No newline at end of file diff --git a/INSTALL.md b/INSTALL.md index a585f084..82f4339b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -106,8 +106,12 @@ For MacOS, you can install Qt with Homebrew: brew install qt Then give the Qt directory to CMake and build: +#### x86: * Qt5_DIR="/usr/local/opt/qt" cmake src_path/ * make +#### arm64: +* Qt5_DIR="/opt/homebrew/opt/qt5" cmake src_path/ +* make The application is built in "bin/DLT Viewer.app", it can be launched from Finder or the command line: open -a $DLT_BUILD_DIR/bin/DLT\ Viewer.app diff --git a/scripts/darwin/build.sh b/scripts/darwin/build.sh index 98b241bc..f845ae8e 100755 --- a/scripts/darwin/build.sh +++ b/scripts/darwin/build.sh @@ -11,8 +11,8 @@ rm -rf "${SRC_DIR}/build" mkdir -p "${BUILD_DIR}" cd "${BUILD_DIR}" -echo Build with QMake Qt5_DIR="/usr/local/opt/qt" +echo "Run on MacOS $(uname -m) Qt5_DIR=$Qt5_DIR" qmake ../BuildDltViewer.pro make