hookmanager

A header_only HookManager lib for C++.

Latest version: 0.4.1

Add to xmake.lua

add_requires("hookmanager 0.4.1")

Learn how to add and link packages with Xmake →

Information

License
MIT
Kind
library
Recipe updated
2025-01-03T03:56:04.000Z

Platforms

  • windows: x86, x64, arm, arm64, arm64ec

Options

detours
Use detours as the underlying hook executor. · Type: boolean · Default: false
lighthook
Use lighthook as the underlying hook executor. · Type: boolean · Default: false
minhook
Use minhook as the underlying hook executor. · Type: boolean · Default: true

Versions

  • v0.3.2
  • v0.3.3
  • v0.4.1

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "hookmanager 0.4.1"

show info

xrepo info "hookmanager"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("hookmanager 0.4.1")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("hookmanager")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "hookmanager 0.4.1" shell