This is a build2 package repository for
minhook, a minimalistic API hooking
library for Windows (x86/x64).
This file contains setup instructions and other details that are more
appropriate for development rather than consumption. If you want to use
minhook in your build2-based project, then instead see the accompanying
PACKAGE-README.md file.
MinHook is Windows-only, so the package builds only for Windows targets (MSVC and MinGW). The development setup below uses the MinGW-w64 cross-toolchain and runs the tests under Wine:
git clone --recurse-submodules .../minhook.git
cd minhook
bdep init -C @mingw64 cc config.c=x86_64-w64-mingw32-gcc
bdep update
bdep test
The upstream source is tracked as a git submodule under upstream/ and overlaid
non-invasively with build2 metadata via symlinks. When cloning, don't forget
--recurse-submodules (or run git submodule update --init afterwards).