Complete refactor of project file structure

Fix incorrect handing of default node parameters in SSD subscription.
Fix unable to parse some Clash rule-providers (#289).
Fix not filtering inline comments in some Surge rulesets. (#285)
Add Cron task options.
Add clean context option for persisting a JS context across the whole request.
Replace JS engine with QuickJS.
This commit is contained in:
Tindy X committed 2021-03-23 18:09:00 +08:00
1 parent ba058e4e4b
commit 3d67406af6
88 files changed
+9404 -6356

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
find_path(LIBCRON_INCLUDE_DIR libcron/Cron.h)
find_path(DATE_INCLUDE_DIR date/date.h)
find_library(LIBCRON_LIBRARY liblibcron)
set(LIBCRON_LIBRARIES "${LIBCRON_LIBRARY}")
set(LIBCRON_INCLUDE_DIRS "${LIBCRON_INCLUDE_DIR} ${DATE_INCLUDE_DIR}")
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(libcron DEFAULT_MSG
LIBCRON_INCLUDE_DIRS LIBCRON_LIBRARY)
mark_as_advanced(LIBCRON_INCLUDE_DIRS)
+11
View File
@@ -0,0 +1,11 @@
find_path(QUICKJS_INCLUDE_DIRS quickjs/quickjs.h)
find_library(QUICKJS_LIBRARY libquickjs)
set(QUICKJS_LIBRARIES "${QUICKJS_LIBRARY}")
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QuickJS DEFAULT_MSG
QUICKJS_INCLUDE_DIRS QUICKJS_LIBRARY)
mark_as_advanced(QUICKJS_INCLUDE_DIRS QUICKJS_LIBRARY)