Merge pull request #2 from maxammann/add-documentation-for-mac

This commit is contained in:
Max Ammann 2022-04-06 08:02:02 +02:00 committed by GitHub
commit d50b5c7d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ graphics are achievable using the current stack.
Now, to clone the project:
```bash
git clone git@github.com/maxammann/mapr
git clone --recursive git@github.com/maxammann/mapr
```
and then build it for running on a desktop:
@ -127,6 +127,12 @@ cargo run --example desktop --
More information about building for different platforms can be
found [here](https://maxammann.org/mapr-docs/building.html).
> __Note for Mac__: Before opening the XCode project, you need to build manually using the following command:
> `cargo build --target aarch64-apple-darwin --lib`
>
> After that, open the XCode project and run it.
> (XCode seems to set some environment variables which cause problems with the build directly within XCode)
## Rust Setup
Install [rustup](https://rustup.rs/) because this is the recommended way of setting up Rust toolchains.