mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 21:17:01 +00:00
Add `external_index` as a common base for `vector_index` and `fulltext_index`, both of which are backed by an external Vector Store engine and share CDC requirements.
27 lines
602 B
CMake
27 lines
602 B
CMake
find_package(cryptopp REQUIRED)
|
|
|
|
add_library(index STATIC)
|
|
target_sources(index
|
|
PRIVATE
|
|
secondary_index.cc
|
|
secondary_index_manager.cc
|
|
external_index.cc
|
|
fulltext_index.cc
|
|
index_option_utils.cc
|
|
vector_index.cc)
|
|
target_include_directories(index
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(index
|
|
PUBLIC
|
|
Seastar::seastar
|
|
xxHash::xxhash
|
|
PRIVATE
|
|
cql3)
|
|
if (Scylla_USE_PRECOMPILED_HEADER_USE)
|
|
target_precompile_headers(index REUSE_FROM scylla-precompiled-header)
|
|
endif()
|
|
|
|
check_headers(check-headers index
|
|
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)
|