- Install CMake, g++, git and clone repositories
sudo apt-get update
sudo apt-get install g++
sudo apt-get install cmake
sudo apt-get install git
sudo git clone https://github.com/rautyrauty/test-task-ALT
sudo git clone https://github.com/Facepunch/gmod-module-base.git -b development
- Install Boost C++ Libraries and OpenSSL
sudo apt-get install libboost-all-dev
sudo apt-get install libssl-dev
- Build
cd multithreaded-anti-family-sharing
sudo cmake .
sudo cmake --build ./
If OpenSSL or Boost or gmod module base is installed in a non-standard location you can set options:
sudo cmake --build ./ -DOPENSSL_ROOT_DIR=some_dir -DBOOST_ROOT=some_dir -DGMOD_MODULE_BASE_DIR=some_dir
or (recommended) overwrite OPENSSL_ROOT_DIR,BOOST_ROOT and GMOD_MODULE_BASE_DIR in CMakeLists.txt
to get the paths to boost and openssl, use the "whereis" command:
whereis boost
whereis openssl