mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
COMP: Replace toddcox-faster by reimplemented toddcox
This commit is contained in:
7
vendor/fmt.cmake
vendored
Normal file
7
vendor/fmt.cmake
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
FetchContent_Declare(
|
||||
fmt
|
||||
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
|
||||
GIT_TAG 9.1.0
|
||||
GIT_PROGRESS TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(fmt)
|
||||
8
vendor/gtest.cmake
vendored
Normal file
8
vendor/gtest.cmake
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
FetchContent_Declare(
|
||||
gtest
|
||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
GIT_TAG release-1.12.1
|
||||
GIT_PROGRESS TRUE
|
||||
)
|
||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(gtest)
|
||||
16
vendor/peglib.cmake
vendored
Normal file
16
vendor/peglib.cmake
vendored
Normal 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()
|
||||
Reference in New Issue
Block a user