install and build guide
install dependencies:
yay -S pkg-config cmake makeInstall Conan:
$ pip install conan
$ conan profile new default --detect
$ conan profile update conf.tools.system.package_manager:mode=install default;
$ conan profile update conf.tools.system.package_manager:sudo=True default;How to Build
Automatic build for Linux and Windows
For this to work on Windows you need to have access to a Unix shell, such as Git Bash or WSL as well as access to the make command.
In order to build both the client and the server, you can make the "all" rule:
$ makeIn order to build the tests, make the "test" rule:
$ make testBinaries can be found at:
./bin/Server
./bin/Client
./bin/TestsManual Build
For Linux
Delete the build folder if present:
$ rm -rf buildThen build the binaries:
$ mkdir build
$ cd build
$ conan install . --build=missing
$ cmake .. -G "Unix Makefiles"
$ cmake --build . --config ReleaseFor Windows
Delete the build folder if present:
$ Remove-Item 'build' -RecurseThen build the binaries:
$ New-item -itemtype directory build
$ Set-Location build
$ conan install . --build=missing
$ cmake .. -G "Visual Studio 17"
$ cmake --build . --config ReleaseLast updated