From 8b44dd4e94f29f7348e0b4b668150022dc8b20b0 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sat, 17 Apr 2021 12:10:35 +0200 Subject: [PATCH] submodules: Add maddy markdown parser (header-only library) --- .gitmodules | 3 +++ Makefile | 2 +- submodules/maddy | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 submodules/maddy diff --git a/.gitmodules b/.gitmodules index a3c7880..e59ae4c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "submodules/qssb.h"] path = submodules/qssb.h url = https://gitea.quitesimple.org/crtxcr/qssb.h.git +[submodule "submodules/maddy"] + path = submodules/maddy + url = https://github.com/progsource/maddy diff --git a/Makefile b/Makefile index 8828037..214c081 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CXXFLAGS=-std=c++17 -O0 -g -no-pie -pipe -MMD -Wall -Wextra RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra LDFLAGS=-lsqlite3 -lpthread -lcrypto -lstdc++fs -lseccomp -INCLUDEFLAGS=-I submodules/sqlitemoderncpp/hdr -I submodules/cpp-httplib -I submodules/qssb.h +INCLUDEFLAGS=-I submodules/sqlitemoderncpp/hdr -I submodules/cpp-httplib -I submodules/qssb.h -I submodules/maddy/include/ CXX=g++ diff --git a/submodules/maddy b/submodules/maddy new file mode 160000 index 0000000..adb1a91 --- /dev/null +++ b/submodules/maddy @@ -0,0 +1 @@ +Subproject commit adb1a910d4aadea09cb7b200f2ec204f61214596