libgit2编译
1. 源码下载
libgit2源码下载
2. 编译要求
CMake下载
CMake教程
3. 编译步骤
Prerequisites
- Make sure CMake on your %PATH%
Build
- Create a build directory beneath the libgit2 source directory, and change
into it:mkdir build && cd build
- Create the cmake build environment:
cmake ..
- Build libgit2:
cmake --build .
4. 使用教程
libgit2使用教程