1. Home
  2. Browse
  3. libgit2

libgit2

v1.8.0#1Go to latest

A C library implementing the Git core methods with a solid API

Install

Run the following Vcpkg command to install the port.

vcpkg install libgit2

Usage

libgit2 can be imported via CMake FindPkgConfig module:

find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBGIT2 REQUIRED IMPORTED_TARGET libgit2)
target_link_libraries(main PRIVATE PkgConfig::LIBGIT2)

vcpkg provides proprietary CMake targets:

find_package(unofficial-libgit2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::libgit2::libgit2)

Features

Dependencies

See source

Version

v1.8.0#1

Publication

Supports

!uwp

GitHub

libgit2/libgit2

Homepage

github.com/libgit2/libgit2

Subtree

0857a4b08c

License

Complex license

Definition

Manifest