chore: move lmdbxx submodule under cpp folder

This commit is contained in:
Prem Chaitanya Prathi 2024-02-16 15:23:50 +05:30
parent d8d171baa2
commit d9d750c8c6
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

2
.gitmodules vendored
View File

@ -2,5 +2,5 @@
path = test/cpp/hoytech-cpp
url = https://github.com/hoytech/hoytech-cpp.git
[submodule "test/cpp/lmdbxx"]
path = test/cpp/lmdbxx
path = cpp/vendor/lmdbxx
url = https://github.com/hoytech/lmdbxx.git

View File

@ -19,7 +19,7 @@ negentropy-cpp:
g++ negentropy.h --std=c++20 -o negentropy.o $(INCS)
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:
rm -f negentropy.o
clean:
rm -f negentropy.o

View File

@ -2,7 +2,7 @@ W = -Wall
OPT = -g -O2
STD = -std=c++20
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/*