Installation
How to install the library
Precompiled Binaries
The easiest way to install the library is to download it from the releases page. Typically, several precompiled packages are available.
Compile from Source
If the package you need isn't available on the releases page, you can compile the project yourself.
First, clone the project from https://github.com/xiadnoring/manapi-http and install all required dependencies. Then configure the project parameters and start the compilation.
Build the project:
And install:
Using Conan v2
You can use Conan v2 to manage dependencies for the library. Install Conan v2 on your system and download all dependencies by executing the following command in the library directory:
Experimental Method
Another way to download dependencies is using CMake's fetch mode.
Set the MANAPIHTTP_BUILD_METHOD parameter to fetch and set MANAPIHTTP_DEPENDENCY_FETCH_SHARED to ON if you want to build shared libraries.