Server++ requires a C++20 compiler and the following libraries:
- Boost (At least version 1.69.0) (for Boost.Asio)
Server++ can be installed from source using CMake. This requires Boost and any other dependencies to have been installed beforehand, using their own instructions, or for the call to cmake --configure to be adjusted appropriately (e.g. -DBOOST_ROOT=...). If you do not wish to install into a system directory, and thus avoid the use of sudo, you can also pass -DCMAKE_INSTALL_PREFIX=... into the cmake --configure call.
git clone https://github.com/KazDragon/serverpp.git && cd serverpp
mkdir build && cd build
cmake --configure -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
sudo cmake --install .
Pushes to master that come from a merged pull request and pass the CMake
workflow automatically publish a GitHub Release. The release version is chosen
using the following precedence:
- pull request labels
semver:major,semver:minor,semver:patch - Conventional Commit cues from the PR title or commit subjects
- contextual hints in the PR title/body such as
breakingorfeature patchwhen nothing else matches
Downstream consumers continue to get the standard GitHub release experience, including the automatically generated source archives for each tag.
- TCP server and sockets.