mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-01 17:25:02 +00:00
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:
88 files changed
+9404
-6356
No files matched your search
@@ -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)
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user