subhook
Simple hooking library for C/C++ (x86 only, 32/64-bit, no dependencies). Re-upload of Zeex/subhook.
Latest version: 2023.02.10
Add to xmake.lua
add_requires("subhook 2023.02.10")Learn how to add and link packages with Xmake →
Information
- License
- BSD-2-Clause
- Recipe updated
- 2025-11-12T16:10:39.000Z
Platforms
- linux: x86_64
- msys: i386, x86_64
- mingw: i386, x86_64, arm, arm64
- bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
- windows: x86, x64, arm, arm64ec
- macosx: x86_64
Options
No configurable options.
Versions
- 2023.02.10
Dependencies
No dependencies declared.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "subhook 2023.02.10"show info
xrepo info "subhook"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("subhook 2023.02.10")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("subhook")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 "subhook 2023.02.10" shell