mirror of
https://github.com/BeamMP/Docs.git
synced 2026-04-02 22:16:26 +00:00
Clarify vcpkg installation section
This commit is contained in:
@@ -32,7 +32,7 @@ However, both Linux and MacOS are secondary platforms, this means bugs are to be
|
|||||||
Currently you need to build the Launcher yourself.
|
Currently you need to build the Launcher yourself.
|
||||||
In order to do this, you need a basic understanding of how to build an application.
|
In order to do this, you need a basic understanding of how to build an application.
|
||||||
|
|
||||||
Make sure you have [`vcpkg` installed](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-bash#1---set-up-vcpkg), as well as basic development tools, often found in packages, for example:
|
Make sure you have basic development tools installed, often found in packages, for example:
|
||||||
|
|
||||||
- Debian: `sudo apt install build-essential`
|
- Debian: `sudo apt install build-essential`
|
||||||
- Fedora: `sudo dnf install cmake gcc-c++ perl-IPC-Cmd perl-FindBin perl-File-Compare perl-File-Copy`
|
- Fedora: `sudo dnf install cmake gcc-c++ perl-IPC-Cmd perl-FindBin perl-File-Compare perl-File-Copy`
|
||||||
@@ -40,6 +40,26 @@ Make sure you have [`vcpkg` installed](https://learn.microsoft.com/en-us/vcpkg/g
|
|||||||
- openSUSE: `zypper in -t pattern devel-basis`
|
- openSUSE: `zypper in -t pattern devel-basis`
|
||||||
- SteamOS (Arch): `sudo pacman -S base-devel linux-api-headers glibc libconfig` (You also need to do `sudo steamos-readonly disable` but make sure to enable it again after installing the packages)
|
- SteamOS (Arch): `sudo pacman -S base-devel linux-api-headers glibc libconfig` (You also need to do `sudo steamos-readonly disable` but make sure to enable it again after installing the packages)
|
||||||
|
|
||||||
|
|
||||||
|
Clone `vcpkg`, bootstrap it and add it to PATH
|
||||||
|
|
||||||
|
1.
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/microsoft/vcpkg.git
|
||||||
|
```
|
||||||
|
|
||||||
|
2.
|
||||||
|
```bash
|
||||||
|
./vcpkg/bootstrap-vcpkg.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
3.
|
||||||
|
```bash
|
||||||
|
export VCPKG_ROOT="$(pwd)/vcpkg"
|
||||||
|
export PATH=$VCPKG_ROOT:$PATH
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Clone the BeamMP-Launcher Repository to your system using `git`, for example:
|
Clone the BeamMP-Launcher Repository to your system using `git`, for example:
|
||||||
`git clone https://github.com/BeamMP/BeamMP-Launcher.git`
|
`git clone https://github.com/BeamMP/BeamMP-Launcher.git`
|
||||||
[Additional information about cloning a GitHub Repo](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
|
[Additional information about cloning a GitHub Repo](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
|
||||||
|
|||||||
Reference in New Issue
Block a user