COMP: Replace toddcox-faster by reimplemented toddcox

This commit is contained in:
David Allemang
2023-01-26 15:00:32 -05:00
parent fd566e200d
commit 6ef6fbf4ac
21 changed files with 1679 additions and 68 deletions

16
vendor/peglib.cmake vendored Normal file
View File

@@ -0,0 +1,16 @@
FetchContent_Declare(
peglib
GIT_REPOSITORY https://github.com/yhirose/cpp-peglib
GIT_TAG v1.8.2
GIT_PROGRESS TRUE
)
set(PEGLIB_BUILD_TESTS OFF CACHE INTERNAL "")
FetchContent_GetProperties(peglib)
if(NOT ${peglib}_POPULATED)
FetchContent_Populate(peglib)
find_package(Threads)
add_library(peglib INTERFACE ${peglib_SOURCE_DIR}/peglib.h)
target_include_directories(peglib INTERFACE ${peglib_SOURCE_DIR})
target_link_libraries(peglib INTERFACE Threads::Threads)
add_library(peglib::peglib ALIAS peglib)
endif()