You can clone the repository, build target ntfy-lib
and link against headers in include/ntfy-lib
.
Currently only installation using an overlay port is
implemented. Files can be found in port/
or in releases.
- Save vcpkg files to your local disk, for example
<proj_root>/ports/
.- You may find them added to release tags
- If your targeted release does not contain vcpkg file:
- copy files from
port/
- update
REF
to your release tag and continue with steps 2-4. - Step 4 might crash because of a Hash-Mismatch, update
SHA512
to the hash vcpkg shows you
- copy files from
- register port dir, for example by creating
<proj_root>/vcpkg-configuration.json
:
{
"overlay-ports": [
"./ports"
]
}
- include this project in your
vcpkg.json
:
{
"name": "ntfy-lib",
"version>=": "1.0.0"
}
- install using
vcpkg install
- include lib in your
CmakeLists.txt
find_package(ntfy-lib)
target_link_libraries(<target> PRIVATE ntfy-lib::ntfy)
- Follow Examples