Changes between Version 348 and Version 349 of BuildInstructions


Ignore:
Timestamp:
Jul 8, 2019, 12:04:52 PM (5 years ago)
Author:
historic_bruno
Comment:

OS X => macOS

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v348 v349  
    1616   * [#Windows Windows] (7 or newer)
    1717   * [#Linux Linux]
    18    * [#OSX OS X] (10.7/Lion or newer)
     18   * [#OSX macOS / OS X] (10.7/Lion or newer)
    1919   * [#BSD FreeBSD/OpenBSD] (only experimental support at this time)
    2020 * Up-to-date system software (Windows service packs, graphics driver updates, etc)
     
    430430
    431431== OS X ==
    432 The process on OS X is similar to Linux:
     432== macOS ==
     433The process on macOS is similar to Linux:
    433434
    434435 * Obtain the command line tools:
    435436   * If you're using Lion 10.7.3 or later, Apple has made their ''Command Line Tools for Xcode'' package freely available, as a separate download. '''It does not include or require Xcode.''' If you don't want the Xcode IDE, it's recommended to install only this package from [https://developer.apple.com/downloads/index.action Apple Developer Downloads]. You need a free Apple ID to access the download. If you already have Xcode 5.1+, you can download the command line tools from the [https://developer.apple.com/library/IOs/#recipes/xcode_help-documentation_preferences/DownloadingandInstallingXcodeComponents/DownloadingandInstallingXcodeComponents.html download preferences].
    436437   * If you're using Lion 10.7.2 or earlier, you'll probably need to install Xcode to get the command line tools:
    437      * If available, use your Mac OS X install DVD which saves downloading 1.72+ GB.
     438     * If available, use your Mac macOS install DVD which saves downloading 1.72+ GB.
    438439     * Visit [https://developer.apple.com/downloads/index.action Apple Developer Downloads] (logging in with your free Apple ID) and download the latest Xcode version for your OS.
    439440     * The latest version of Xcode is also available for free from the [http://www.apple.com/mac/app-store/ Mac App Store]. ''Note: if you download the app, it is only the installer for Xcode. You need to open it and run the "Install Xcode" app.''
     
    442443 * As of Alpha 21, the game uses SpiderMonkey 38 which requires a Python 2.7 version later than 2.7.3. If you're on Mountain Lion (10.8) or earlier, you will need to first update your Python installation with the latest 2.7.x installer from [https://www.python.org/downloads/release/python-279/ here].
    443444 * Obtain CMake:
    444    * You can download a prebuilt OS X package [https://cmake.org/download/ here].
     445   * You can download a prebuilt macOS package [https://cmake.org/download/ here].
    445446   * If prompted, install the CMake command line tools to the default location.
    446447   * '''Note:''' Recent versions have no installer, so after copying the app bundle to '''Applications''', you need to run CMake with elevated permissions to install the command line tools. From the terminal:
     
    473474
    474475=== 1. Build the game for your personal use ===
    475  * Run [source:/ps/trunk/libraries/osx/build-osx-libs.sh libraries/osx/build-osx-libs.sh], the OS X libraries build script, this will download and build the game's dependencies (except CMake, see above). This script will take some time to finish when first run, after that it will reuse the old build.
     476 * Run [source:/ps/trunk/libraries/osx/build-osx-libs.sh libraries/osx/build-osx-libs.sh], the macOS libraries build script, this will download and build the game's dependencies (except CMake, see above). This script will take some time to finish when first run, after that it will reuse the old build.
    476477{{{
    477478#!sh
     
    480481}}}
    481482   * '''-j3''' gives the number of parallel builds to run, and should typically be one plus the number of CPU cores available.
    482    * To force a rebuild for some reason, e.g. the SVN folder is moved or Xcode / OS X is upgraded, pass in the `--force-rebuild` flag.
     483   * To force a rebuild for some reason, e.g. the SVN folder is moved or Xcode / macOS is upgraded, pass in the `--force-rebuild` flag.
    483484 * Next, to build the game on the command line, use the following commands:
    484485{{{
     
    507508=== 2. Build the game as a distributable app bundle ===
    508509 * You will need Xcode installed (for its SDKs)
    509  * Open [source:/ps/trunk/build/workspaces/build-osx-bundle.sh build/workspaces/build-osx-bundle.sh] and read the comments. You will need to change a few settings depending on your version of OS X, Xcode, etc.
     510 * Open [source:/ps/trunk/build/workspaces/build-osx-bundle.sh build/workspaces/build-osx-bundle.sh] and read the comments. You will need to change a few settings depending on your version of macOS, Xcode, etc.
    510511 * Run `build-osx-bundle.sh`, the bundle build script, which will download and build the game's dependencies for the appropriate SDK, build the game's source code, package the mod data, and set up the app bundle info.
    511512{{{