Update How to build - Mac OS.md

Additional section "TL; DR"
This commit is contained in:
Daniel Hähnel 2020-08-14 14:44:00 +02:00 committed by GitHub
parent add3894e8c
commit f2f5632c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,3 +79,29 @@ This is set in the property list file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist
To remove the limitation, simply delete the key `MinimumSDKVersion` from that file.
# TL; DR
Works on a fresh installation of MacOS Catalina 10.15.6
- Install [brew](https://brew.sh/):
- Open Terminal
- Enter:
```brew install cmake git gettext
brew update
brew upgrade
git clone https://github.com/prusa3d/PrusaSlicer/
cd PrusaSlicer/deps
mkdir build
cd build
cmake ..
make
cd ../..
mkdir build
cd build
cmake .. -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local"
make
src/prusa-slicer