Added Brewfile and updated macOS compilation instructions
This commit is contained in:
parent
daebb32925
commit
bfdeff93b2
|
@ -48,3 +48,7 @@ xcuserdata
|
|||
# PyCharm generated files #
|
||||
###########################
|
||||
.idea
|
||||
|
||||
# Brewfile installation artifacts
|
||||
#################################
|
||||
Brewfile.lock.json
|
|
@ -0,0 +1,16 @@
|
|||
# This should already be tapped, but just in case
|
||||
tap "homebrew/core"
|
||||
|
||||
# Install dependencies
|
||||
brew "scons"
|
||||
brew "sdl"
|
||||
brew "sdl_image"
|
||||
brew "sdl_mixer"
|
||||
brew "sdl2"
|
||||
brew "sdl2_image"
|
||||
brew "sdl2_mixer"
|
||||
brew "libpng"
|
||||
brew "jpeg"
|
||||
brew "physfs"
|
||||
brew "pkg-config"
|
||||
brew "dylibbundler"
|
|
@ -127,15 +127,9 @@ from the Terminal. This may need to be done after each major OS upgrade as well
|
|||
DXX-Rebirth can be built from the Terminal (via SCons) without Xcode; to build using Xcode requires Xcode to be installed.
|
||||
|
||||
##### [Homebrew](https://github.com/Homebrew/homebrew/)
|
||||
* **brew install
|
||||
scons
|
||||
sdl
|
||||
sdl\_image
|
||||
sdl\_mixer
|
||||
physfs
|
||||
libpng
|
||||
pkg-config
|
||||
dylibbundler**
|
||||
The project includes a Brewfile for installing all required dependencies, if you use Homebrew. You can install them with:
|
||||
|
||||
* **brew bundle**
|
||||
|
||||
### Building
|
||||
Once prerequisites are installed, run **scons** *options* to build. By default, both D1X-Rebirth and D2X-Rebirth are built. To build only D1X-Rebirth, run **scons d1x=1**. To build only D2X-Rebirth, run **scons d2x=1**.
|
||||
|
|
Loading…
Reference in New Issue