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 README with Instruction how to build for macos #91

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all 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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,22 @@ $ sudo apt install libsdl2-2.0-0

- Run `fallout-ce.app`.

### macOS build

Before start:

- Clone this repository to your computer
- install Xcode if haven't installed it yet: [link](https://developer.apple.com/support/xcode/)
- Open root folder of this repository in any terminal app

Build:

- Configure (based on your platform):
- Intel: `cmake -B build -G Xcode -D CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY='' -D CMAKE_OSX_ARCHITECTURES=x86_64`
- Apple Silicon: `cmake -B build -G Xcode -D CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY='' -D CMAKE_OSX_ARCHITECTURES=arm64`
- Build: `cmake --build build --config RelWithDebInfo -j $(sysctl -n hw.physicalcpu)`
- find your new application at path `/build/RelWithDebInfo/Fallout Community Edition.app`

### Android

> **NOTE**: Fallout was designed with mouse in mind. There are many controls that require precise cursor positioning, which is not possible with fingers. Current control scheme resembles trackpad usage:
Expand Down