polyhook2

C++20, x86/x64 Hooking Libary v2.0

Latest version: 2024.8.1

Add to xmake.lua

add_requires("polyhook2 2024.8.1")

Learn how to add and link packages with Xmake →

Information

License
MIT
Recipe updated
2024-10-25T03:33:49.000Z

Platforms

  • linux: i386, x86_64
  • windows: x86, x64

Options

shared_deps
Use shared library for dependency · Type: boolean · Default: false

Versions

  • 2023.7.15
  • 2024.8.1

Dependencies

Install with xrepo

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

install

xrepo install "polyhook2 2024.8.1"

show info

xrepo info "polyhook2"

Link a library to your target

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

xmake.lua

add_requires("polyhook2 2024.8.1")

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

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 "polyhook2 2024.8.1" shell