lighthook
Single-header, minimalistic, cross-platform hook library written in pure C
Latest version: 2
Add to xmake.lua
add_requires("lighthook 2")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Kind
- library
- Recipe updated
- 2024-10-29T01:01:55.000Z
Platforms
- windows: x86, x64, arm, arm64, arm64ec
Options
No configurable options.
Versions
- 2
Dependencies
No dependencies declared.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "lighthook 2"show info
xrepo info "lighthook"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("lighthook 2")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("lighthook")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 "lighthook 2" shell