Added libgit2 dependency
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -16,3 +16,4 @@
|
|||||||
/lbs.exe
|
/lbs.exe
|
||||||
/build/lbs.ilk
|
/build/lbs.ilk
|
||||||
/obj/thirdparty/uniproc/src
|
/obj/thirdparty/uniproc/src
|
||||||
|
/releases
|
||||||
|
|||||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -4,3 +4,6 @@
|
|||||||
[submodule "thirdparty/uniproc"]
|
[submodule "thirdparty/uniproc"]
|
||||||
path = thirdparty/uniproc
|
path = thirdparty/uniproc
|
||||||
url = ssh://gitea@git.rileyk.au:19482/riley/uniproc.git
|
url = ssh://gitea@git.rileyk.au:19482/riley/uniproc.git
|
||||||
|
[submodule "thirdparty/libgit2"]
|
||||||
|
path = thirdparty/libgit2
|
||||||
|
url = https://github.com/libgit2/libgit2.git
|
||||||
|
|||||||
12
makefile
12
makefile
@@ -1,8 +1,8 @@
|
|||||||
CXX := clang++
|
CXX := clang++
|
||||||
CC := clang
|
CC := clang
|
||||||
|
|
||||||
INCLUDES := include src thirdparty/luajit/src thirdparty/uniproc/include
|
INCLUDES := include src thirdparty/luajit/src thirdparty/uniproc/include thirdparty/libgit2/include
|
||||||
LIBRARY_DIRECTORIES := thirdparty/luajit/src
|
LIBRARY_DIRECTORIES := thirdparty/luajit/src thirdparty/libgit2
|
||||||
LINKER_INPUTS := lua51 luajit
|
LINKER_INPUTS := lua51 luajit
|
||||||
|
|
||||||
DEBUG_DEFINES :=
|
DEBUG_DEFINES :=
|
||||||
@@ -63,4 +63,10 @@ build_deps: .make/thirdparty_luajit .make/thirdparty_uniproc
|
|||||||
|
|
||||||
.make/thirdparty_uniproc:
|
.make/thirdparty_uniproc:
|
||||||
git submodule update --init --recursive --remote
|
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")
|
||||||
|
|||||||
1
thirdparty/libgit2
vendored
Submodule
1
thirdparty/libgit2
vendored
Submodule
Submodule thirdparty/libgit2 added at 21a351b0ed
Reference in New Issue
Block a user