You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.9 KiB
1.9 KiB
Building on macOS
Prerequisites
-
Install the following tools and dependencies:
-
Run the installer script to configure additional dependencies, as noted below. If you wish to examine what packages will be installed, see package lists
PackageListBrew.txt
andPackageListPython.txt
.- If Python is already installed:
./Scripts/install.py [--upgrade]
- If Python is not installed:
./Scripts/Install/InstallDarwin.sh [--upgrade]
Use the
--upgrade
switch to refresh packages at a later date. - If Python is already installed:
-
Edit the
Scripts/config.txt
file and make sure the following variables are configured properly under the[Darwin]
section:libQtPath
-- Full path to the Qt library (query withbrew --prefix qt5
).openSSLPath
-- Full path to the OpenSSL library (query withbrew --prefix openssl
).
Building
Build the project with the following Python script. Packages will be copied into the Binaries
directory.
./Scripts/build.py
To build a specific version of the product, supply the appropriate tag name (or commit hash) as an argument:
./Scripts/build.py --checkout 1.13.1.3-snapshot
Similarly, one can clean the project, which resets Git repositories to a clean state:
./Scripts/clean.py