This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Compiling
Matt Haynie edited this page Aug 6, 2020
·
10 revisions
This guide assumes you are already familiar with the fundamentals of git and compiling programs from source code.
TF2 Bot Detector currently only works on MSVC and Windows, but support for Linux is planned.
- Download and install CMake: https://cmake.org/download/
- Follow the instructions in the readme of vcpkg to install it:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
- Install the required packages for TF2 Bot Detector:
vcpkg install SDL2 openSSL glbinding cpp-httplib libzippp fmt discord-game-sdk --triplet x64-windows
- Download the TF2 Bot Detector source code:
git clone https://github.com/PazerOP/tf2_bot_detector.git --recursive
cd tf2_bot_detector
- Perform an out-of-source build with CMake:
mkdir build
cd build
cmake ../ -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake
cmake --build . --config Release