mirror of
https://github.com/logos-messaging/negentropy.git
synced 2026-01-04 06:53:07 +00:00
chore: move lmdbxx submodule under cpp folder
This commit is contained in:
parent
d8d171baa2
commit
d9d750c8c6
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -2,5 +2,5 @@
|
|||||||
path = test/cpp/hoytech-cpp
|
path = test/cpp/hoytech-cpp
|
||||||
url = https://github.com/hoytech/hoytech-cpp.git
|
url = https://github.com/hoytech/hoytech-cpp.git
|
||||||
[submodule "test/cpp/lmdbxx"]
|
[submodule "test/cpp/lmdbxx"]
|
||||||
path = test/cpp/lmdbxx
|
path = cpp/vendor/lmdbxx
|
||||||
url = https://github.com/hoytech/lmdbxx.git
|
url = https://github.com/hoytech/lmdbxx.git
|
||||||
|
|||||||
@ -19,7 +19,7 @@ negentropy-cpp:
|
|||||||
g++ negentropy.h --std=c++20 -o negentropy.o $(INCS)
|
g++ negentropy.h --std=c++20 -o negentropy.o $(INCS)
|
||||||
|
|
||||||
c-wrapper:
|
c-wrapper:
|
||||||
g++ negentropy_wrapper.h --std=c++20 -o negentropy_wrapper.o $(INCS) -I../test/cpp/lmdbxx/include/
|
g++ negentropy_wrapper.h --std=c++20 -o negentropy_wrapper.o $(INCS) -I./vendor/lmdbxx/include/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f negentropy.o
|
rm -f negentropy.o
|
||||||
|
|||||||
0
test/cpp/lmdbxx → cpp/vendor/lmdbxx
vendored
0
test/cpp/lmdbxx → cpp/vendor/lmdbxx
vendored
@ -2,7 +2,7 @@ W = -Wall
|
|||||||
OPT = -g -O2
|
OPT = -g -O2
|
||||||
STD = -std=c++20
|
STD = -std=c++20
|
||||||
CXXFLAGS = $(STD) $(OPT) $(W) -fPIC $(XCXXFLAGS)
|
CXXFLAGS = $(STD) $(OPT) $(W) -fPIC $(XCXXFLAGS)
|
||||||
INCS = -I../../cpp/ -I./hoytech-cpp/ -Ilmdbxx/include/
|
INCS = -I../../cpp/ -I./hoytech-cpp/ -I../cpp/vendor/lmdbxx/include/ #-I/opt/homebrew/include/ -L/opt/homebrew/lib/
|
||||||
|
|
||||||
DEPS = ../../cpp/negentropy.h ../../cpp/negentropy/* ../../cpp/negentropy/storage/* ../../cpp/negentropy/storage/btree/*
|
DEPS = ../../cpp/negentropy.h ../../cpp/negentropy/* ../../cpp/negentropy/storage/* ../../cpp/negentropy/storage/btree/*
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user