Merge pull request #4396 from Bildcraft1/develop

BUILD.MD: Changed from "Install Xcode" to install Xcode Command-Line tools
This commit is contained in:
Petr Mrázek 2021-12-30 19:25:31 +01:00 committed by GitHub
commit e7b90a9a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,11 +182,19 @@ zlib1.dll
# macOS # macOS
### Install prerequisites: ### Install prerequisites:
- Install XCode and set it up to the point where you can build things from a terminal - Install XCode Command Line tools
- Install the official build of CMake (https://cmake.org/download/) - Install the official build of CMake (https://cmake.org/download/)
- Install JDK 8 (https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) - Install JDK 8 (https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html)
- Get Qt 5.6 and install it (https://download.qt.io/new_archive/qt/5.6/5.6.3/) - Get Qt 5.6 and install it (https://download.qt.io/new_archive/qt/5.6/5.6.3/)
### XCode Command Line tools
If you don't have XCode CommandLine tools installed, you can install them by using this command in the Terminal App
```bash
xcode-select --install
```
### Build ### Build
Pick an installation path - this is where the final `.app` will be constructed when you run `make install`. Supply it as the `CMAKE_INSTALL_PREFIX` argument during CMake configuration. Pick an installation path - this is where the final `.app` will be constructed when you run `make install`. Supply it as the `CMAKE_INSTALL_PREFIX` argument during CMake configuration.