Skip to content

Latest commit

 

History

History
56 lines (49 loc) · 1.23 KB

build-guide.md

File metadata and controls

56 lines (49 loc) · 1.23 KB

Build Linux(Ubuntu 22.04.2 / Debian 12)

  1. 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
  1. Install Boost C++ Libraries and OpenSSL
sudo apt-get install libboost-all-dev
sudo apt-get install libssl-dev
  1. 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