@@ -7,3 +7,6 @@
[submodule "src/deps/regex/pcre2"]
path = src/deps/regex/pcre2
url = git@github.com:aFun-org/pcre2.git
+[submodule "src/deps/fflags/fflags"]
+ path = src/deps/fflags/fflags
+ url = git@github.com:aFun-org/fflags.git
@@ -5,6 +5,7 @@
#include "tool.h"
#include "regex.h"
#include "cjson.h"
+#include "fflags.h"
#include "code.h"
#include "object.h"
@@ -0,0 +1 @@
+#include "../src/deps/fflags/fflags/fflags.h"
@@ -2,8 +2,9 @@
add_subdirectory(tool)
add_subdirectory(deps/cjson)
add_subdirectory(deps/regex)
+add_subdirectory(deps/fflags)
-set(libary af_tool af_json af_regex)
+set(libary af_tool af_json af_regex FFlags)
add_subdirectory(core)
@@ -16,4 +16,9 @@ url: https://github.com/dlfcn-win32/dlfcn-win32
该库用于处理正则表达式
封装自`pcre2`库
git子模块: pcre2
-url: https://github.com/PhilipHazel/pcre2
+url: https://github.com/PhilipHazel/pcre2
+
+* fflags依赖库
+该库用于处理命令行参数
+git子模块: fflags
+url: https://github.com/SuperH-0630/fflags
@@ -0,0 +1,4 @@
+set(BUILD_SHARED_LIBS OFF)
+set(FFLAGS_BUILD_TEST OFF)
+set(SET_OUTPUT_DIRECTORY OFF)
+add_subdirectory(fflags)
@@ -0,0 +1,7 @@
+fflags依赖库
+-------------------------
+提供命令行参数处理程序
+项目url: https://github.com/SuperH-0630/fflags
+子模块: https://github.com/aFun-org/fflags
+Subproject commit 87571d840bea9cff73b5ddb5ee9470d51990845a