Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (17 loc) · 655 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 655 Bytes

CMake support

NOTE CMake support is community-based. The maintainers do not use CMake internally.

Including Cuckoo Index in your CMake based project

You can include Cuckoo Index in your own CMake based project like this:

include(FetchContent)
set(CUCKOOINDEX_BUILD_TESTS OFF)
set(CUCKOOINDEX_BUILD_BENCHMARKS OFF)
FetchContent_Declare(
    cuckooindex
    GIT_REPOSITORY "https://github.com/google/cuckoo-index.git"
)
FetchContent_MakeAvailable(cuckooindex)
FetchContent_GetProperties(cuckooindex SOURCE_DIR CUCKOOINDEX_INCLUDE_DIR)
include_directories(${CUCKOOINDEX_INCLUDE_DIR})

target_link_libraries(your_target cuckoo_index)