Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BUILD-INSTRUCTIONS-MACOS.md #158

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/BUILD-INSTRUCTIONS-MACOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,34 @@ gLabels MacOS Build Instructions

## Prerequisites

For Intel Macs
```
brew install cmake
brew install qt
knewg marked this conversation as resolved.
Show resolved Hide resolved
```

For Apple Silicon Macs
```
brew install gcc
knewg marked this conversation as resolved.
Show resolved Hide resolved
brew install cmake
brew install qt5
knewg marked this conversation as resolved.
Show resolved Hide resolved
```



## Compile and Install

<pre>
cd <i>glabels_source_directory</i>
mkdir build
cd build

# For Intel Macs
cmake -D CMAKE_PREFIX_PATH=/usr/local/opt/qt ..
knewg marked this conversation as resolved.
Show resolved Hide resolved

# For Apple Silicon Macs
cmake -D CMAKE_PREFIX_PATH="/opt/homebrew/opt/qt5" -DCMAKE_C_COMPILER=/opt/homebrew/bin/gcc-12 -DCMAKE_CXX_COMPILER=/opt/homebrew/bin/g++-12 ..
knewg marked this conversation as resolved.
Show resolved Hide resolved

make
sudo make install
</pre>