update windows installation

This commit is contained in:
Maximilian Keßler 2024-06-12 17:52:44 +02:00
parent 1d01c7012c
commit 9c1cb5ff4e
Signed by: max
GPG Key ID: BCC5A619923C0BA5

View File

@ -32,19 +32,17 @@ I can't provide information for all distributions, but in general it should be l
**Linux systems**:
- `boost` and `cmake`: should be available as a system package via your package manager.
- `readline` should be installed already, otherwise try your package manager as well.
- `cpr` is a bit more complicated:
- On Arch, there is a package in the [AUR](https://aur.archlinux.org/packages/cpr).
- On Fedora, there is also a package via [rpm](https://src.fedoraproject.org/rpms/cpr).
- There might be packages for other distributions, check out the [CPR project on Github](https://github.com/libcpr/cpr#packages-for-linux-distributions).
- If there is no package available for your distribution, see [Installing cpr as a local CMake dependency](# Installing cpr as a local CMake dependency).
- `readline` should be installed already, otherwise try your package manager as well. On some systems, you will need to additionally install `libreadline-dev` (or similar),
- `cpr` should be fetched as a submodule from its GitHub repository automatically by CMake
- Alternatively, install cpr globally via your package manager. For example, this is possible for Arch via [AUR](https://aur.archlinux.org/packages/cpr) and Fedora via [rpm](https://src.fedoraproject.org/rpms/cpr)
**Mac OS**:
- I recommend installing packages with [Homebrew](https://brew.sh).
- So `brew install boost cpr readline cmake` should do the job.
- Note this is not tested, since I do not have access to a Mac.
**Windows**:
- Currently, I have no idea regarding windows, sorry for that.
- I recommend using the 'Windows Subsystem for Linux (WSL)'. Then, follow the Linux system installation from above.
### Installing cpr as a local CMake dependency
- There is also the option to install `cpr` directly as a dependency through `CMake`.