Added libgit2 dependency

This commit is contained in:
2025-03-10 20:11:21 +11:00
parent 68e2c49c8f
commit af6d3223da
4 changed files with 14 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
CXX := clang++
CC := clang
INCLUDES := include src thirdparty/luajit/src thirdparty/uniproc/include
LIBRARY_DIRECTORIES := thirdparty/luajit/src
INCLUDES := include src thirdparty/luajit/src thirdparty/uniproc/include thirdparty/libgit2/include
LIBRARY_DIRECTORIES := thirdparty/luajit/src thirdparty/libgit2
LINKER_INPUTS := lua51 luajit
DEBUG_DEFINES :=
@@ -63,4 +63,10 @@ build_deps: .make/thirdparty_luajit .make/thirdparty_uniproc
.make/thirdparty_uniproc:
git submodule update --init --recursive --remote
$(call touch,".make/thirdparty_uniproc")
.make/thirdparty_libgit2:
git submodule update --init --recursive --remote
cd thirdparty/libgit2 && mkdir build
cd thirdparty/libgit2/build && cmake .. && cmake --build .
$(call touch,".make/thirdparty_libgit2")