lua integration

This commit is contained in:
Dane Johnson
2021-01-13 16:47:16 -06:00
parent d5788228f6
commit 86f6203efc
16 changed files with 210 additions and 20 deletions

12
scripting/Makefile Normal file
View File

@@ -0,0 +1,12 @@
include ../common.mk
SWIG := swig
SWIG_OPTS := -lua
all: couch_wrap.o
couch_wrap.o: couch_wrap.cpp
$(CXX) $(CXXFLAGS) -I../core -c -o $@ $^
couch_wrap.cpp: couch.i
$(SWIG) -c++ $(SWIG_OPTS) -I../core -o $@ $^