From dccdf2271d8c4f90299cb867c66327b44ebf6eda Mon Sep 17 00:00:00 2001 From: bruce Date: Sun, 27 Aug 2023 13:26:25 +0800 Subject: [PATCH] add lua table schema validate lib --- build/projects/lualib/Makefile | 4 ++++ build/projects/lualib/lualib.vcxproj | 1 + build/projects/lualib/lualib.vcxproj.filters | 3 +++ 3 files changed, 8 insertions(+) diff --git a/build/projects/lualib/Makefile b/build/projects/lualib/Makefile index 7c931232b..399f0d110 100644 --- a/build/projects/lualib/Makefile +++ b/build/projects/lualib/Makefile @@ -74,6 +74,7 @@ OBJECTS := \ $(OBJDIR)/lua_moon.o \ $(OBJDIR)/lua_navmesh.o \ $(OBJDIR)/lua_random.o \ + $(OBJDIR)/lua_schema.o \ $(OBJDIR)/lua_serialize.o \ $(OBJDIR)/lua_socket.o \ $(OBJDIR)/lua_uuid.o \ @@ -192,6 +193,9 @@ $(OBJDIR)/lua_navmesh.o: ../../../lualib-src/lua_navmesh.cpp $(OBJDIR)/lua_random.o: ../../../lualib-src/lua_random.cpp @echo $(notdir $<) $(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<" +$(OBJDIR)/lua_schema.o: ../../../lualib-src/lua_schema.cpp + @echo $(notdir $<) + $(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<" $(OBJDIR)/lua_serialize.o: ../../../lualib-src/lua_serialize.cpp @echo $(notdir $<) $(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<" diff --git a/build/projects/lualib/lualib.vcxproj b/build/projects/lualib/lualib.vcxproj index 1b673eb15..2d3233948 100644 --- a/build/projects/lualib/lualib.vcxproj +++ b/build/projects/lualib/lualib.vcxproj @@ -131,6 +131,7 @@ + diff --git a/build/projects/lualib/lualib.vcxproj.filters b/build/projects/lualib/lualib.vcxproj.filters index 0e06f2263..a8727d811 100644 --- a/build/projects/lualib/lualib.vcxproj.filters +++ b/build/projects/lualib/lualib.vcxproj.filters @@ -155,6 +155,9 @@ lualib-src + + lualib-src + lualib-src