Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.19 KB

README.md

File metadata and controls

51 lines (33 loc) · 2.19 KB

PluginTemplate

Template CMake project for x64dbg plugins. This uses cmkr, cmake.toml contains the project configuration.

Using the template

You can click the green Use this template button. See the article Creating a repository from a template by GitHub for more details.

Alternatively you can download a ZIP of this repository and set up the template locally.

Getting started

Building

From a Visual Studio command prompt:

cmake -B build64 -A x64
cmake --build build64 --config Release

You will get build64\PluginTemplate.sln that you can open in Visual Studio.

To build a 32-bit plugin:

cmake -B build32 -A Win32
cmake --build build32 --config Release

Alternatively you can open this folder in Visual Studio/CLion/Qt Creator.

building animation

Creating releases

This template has GitHub Actions set up in .github/workflows/build.yml. If you push a tag prefixed with v (for instance v1.0) it will automatically publish a GitHub release with the plugin binaries compiled for both architectures.

Automatic reloading

You can set up the PluginDevHelper utility to automatically unload and reload the plugin from x64dbg when compiling. See the README there for more detailled instructions.