Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (21 loc) · 812 Bytes

Build.md

File metadata and controls

29 lines (21 loc) · 812 Bytes

Build Instructions

Preparations

git clone --recursive https://github.com/SpriteOvO/Telegram-Anti-Revoke.git
cd Telegram-Anti-Revoke
mkdir Build
cd Build

The current path will be named BuildPath in the rest of this document.

Download and install CMake (>= v3.15) if you don't have it.

Choose a target platform to continue:

Windows

Download and install Visual Studio 2019 if you don't have it.

Open Powershell, go to BuildPath.

Modify the following arguments according to your needs and run it.

cmake -G "Visual Studio 16 2019" -A <Win32|x64> -DCMAKE_BUILD_TYPE=<Debug|Release|RelWithDebInfo|MinSizeRel> -DTAR_OS=<WIN7|WIN10> ../
cmake --build . --config <Debug|Release|RelWithDebInfo|MinSizeRel>
ls ./Binary