Web server for C++.
- Git
- Cmake (3.20+)
- C++20
git clone [email protected]:dyatlovk/ws_server.git
cd ./ws_server
Debug version:
cmake --build --preset=debug-build-linux -jN
make
Release version:
cmake --build --preset=release-build-linux -jN
make
Where N is a number of threads to build your project. For max performance on build you should use this simple formula: number of CPU threads + 1. For example. If you have CPU with 16 threads your flag will be -j17.
Option | Debug | Release | Description |
---|---|---|---|
CMAKE_BUILD_TYPE | Debug | MinSizeRel | Build type |
SRV_BUILD_EXAMPLES | On | On | Build all examples |
SRV_BUILD_BENCHMARKS | Off | On | Build with benchmarks |
SRV_BUILD_TESTS | On | Off | Build with tests |