diff options
| -rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -78,7 +78,7 @@ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test ``` Now GCC-11 can be installed via Apt. This will also install a suitable version of -the C++ library; +the C++ library. ``` sudo apt install -y --no-install-recommends g++-11 @@ -86,7 +86,7 @@ g++-11 --version ``` The easiest way to tell `xmake` to use the correct compiler version is to set -the `CXX` environment variable; +the `CXX` environment variable. ``` export CXX=g++-11 @@ -94,7 +94,7 @@ export CXX=g++-11 Next we need the `xmake` build system. For this we will download and install `xmake` as a `.deb` package. Check the project's release page for more up to -date `.deb` files; +date `.deb` files. ``` wget https://github.com/xmake-io/xmake/releases/download/v2.6.4/xmake-v2.6.4.amd64.deb @@ -102,14 +102,14 @@ sudo dpkg -i xmake-v2.6.4.amd64.deb xmake --version ``` -To build some of the packages from vcpkg you may need some additional tools. Install the following; +To build some of the packages from vcpkg you may need some additional tools. ``` sudo apt-get install build-essential ``` Some of Zen's third party dependencies are provided by Microsoft's `vcpkg` -C++ library manager. After cloning the project there is an initialisation step; +C++ library manager. After cloning the project there is an initialisation step. ``` git clone https://github.com/microsoft/vcpkg.git ~/zen/vcpkg @@ -118,13 +118,13 @@ git clone https://github.com/microsoft/vcpkg.git ~/zen/vcpkg ``` `xmake` uses an environment variable to find `vcpkg`. Alternatively this can be -done by including `VCPKG_ROOT=...` on the command line when invoking `xmake`; +done by including `VCPKG_ROOT=...` on the command line when invoking `xmake`. ``` export VCPKG_ROOT=~/zen/vcpkg ``` -Clone the Zen project and tell `xmake` to use the correct GCC version; +Clone the Zen project and tell `xmake` to use the correct GCC version. ``` git clone https://github.com/EpicGames/zen.git ~/zen/main @@ -132,7 +132,7 @@ cd ~/zen/main ``` Now we are ready to build Zen. The `-y` skips `xmake` from prompting about -updating `vcpkg` packages; +updating `vcpkg` packages. ``` xmake config -y --mode=debug @@ -163,7 +163,7 @@ https://github.com/AppImage/AppImageKit ## Building on Mac Building on Mac is very similar to Linux; install xmake, clone vcpkg and Zen and -then build the project. Here is a short summary; +then build the project. ``` ## vcpkg |