Skip to content

Commit

Permalink
macOS CMake build instructions in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-bloom committed Feb 28, 2021
1 parent 174297b commit 42472b4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,7 @@ msbuild openrct2.proj /t:PublishPortable
The recommended way of building OpenRCT2 for macOS is with Xcode. The Xcode build will create a self-contained application bundles which include all the necessary game files and dependencies. Open the project file OpenRCT2.xcodeproj in Xcode and build from there. Building this way will handle the dependencies for you automatically. You can also invoke an Xcode build from the command line using `xcodebuild`.

#### CMake:
A command line version of OpenRCT2 can be built using CMake. This type of build requires you to provide the dependencies yourself. The supported method of doing this is with [Homebrew](https://brew.sh). Once you have Homebrew installed, you can download all the required libraries with this command:
```
brew install cmake duktape freetype icu4c libpng libzip nlohmann-json openssl pkg-config sdl2 speexdsp
```

Once you have the dependencies installed, you can build the project using CMake using the following commands:
A command line version of OpenRCT2 can be built using CMake. CMake will retrieve the dependences from [Dependencies](https://github.com/OpenRCT2/Dependencies/) automatically. You can build the project using CMake using the following commands:
```
mkdir build
cd build
Expand Down

0 comments on commit 42472b4

Please sign in to comment.