diff options
| author | Skyler Saleh <skylersaleh@gmail.com> | 2021-05-01 18:09:28 -0700 |
|---|---|---|
| committer | Skyler Saleh <skylersaleh@gmail.com> | 2021-05-22 15:25:18 -0700 |
| commit | 7a44a7ee399ca490a6b082dded4616e154673fe2 (patch) | |
| tree | f0b25697664ca3e9963fbb0e83493bce8d5cdeb9 | |
| parent | 9163312779dd1fd4ab3b60eee3f56c2a8c8e683d (diff) | |
Readme: Update macOS build instructions
1) Place information about universal builds after single architecture builds
since universal builds are harder to setup the environment for.
2) Specify that new arguments should be provided instead of direct script
modification for universal builds.
| -rw-r--r-- | Readme.md | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -64,26 +64,27 @@ will inform you if a bundled library is used or if you need to install any missing packages yourself. ### macOS Build Steps: -A script is provided to build Universal binaries supporting both x64 and ARM in the same -application bundle using the following steps: + +A binary supporting a single architecture can be built using the following steps: 1. `mkdir build` 2. `cd build` -3. `python ../BuildMacOSUniversalBinary.py` -4. Universal binaries will be available in the `universal` folder +3. `cmake ..` +4. `make` -Doing this requires installation of library dependencies for both x64 and ARM (or universal library -equivalents) and may require modification of the config portion of the script to point to the -library locations +An application bundle will be created in `./Binaries`. -A binary supporting a single architecture can be built as well using the following steps: +A script is also provided to build universal binaries supporting both x64 and ARM in the same +application bundle using the following steps: 1. `mkdir build` 2. `cd build` -3. `cmake ..` -4. `make` +3. `python ../BuildMacOSUniversalBinary.py` +4. Universal binaries will be available in the `universal` folder -An application bundle will be created in `./Binaries`. +Doing this is more complex as it requires installation of library dependencies for both x64 and ARM (or universal library +equivalents) and may require specifying additional arguments to point to relevant library locations. +Execute BuildMacOSUniversalBinary.py --help for more details. ### Linux Global Build Steps: |
