2024-03-19 16:26:26 +00:00
|
|
|
cmake_minimum_required(VERSION 3.20)
|
|
|
|
|
|
|
|
project(
|
2024-03-19 16:40:28 +00:00
|
|
|
vector_search
|
2024-03-19 16:26:26 +00:00
|
|
|
VERSION 0.1.0
|
|
|
|
LANGUAGES CXX)
|
|
|
|
|
2024-03-20 14:05:25 +00:00
|
|
|
add_library(
|
|
|
|
vector_search STATIC
|
|
|
|
src/word_list_generator.cpp
|
|
|
|
include/word_list_generator.h
|
|
|
|
src/linear_finder.cpp
|
|
|
|
include/linear_finder.h
|
2024-03-20 19:50:43 +00:00
|
|
|
src/sorted_linear_finder.cpp
|
|
|
|
include/sorted_linear_finder.h
|
2024-03-20 14:05:25 +00:00
|
|
|
src/parallel_finder.cpp
|
|
|
|
include/parallel_finder.h
|
|
|
|
src/tree_finder.cpp
|
2024-03-20 15:35:37 +00:00
|
|
|
include/tree_finder.h
|
|
|
|
src/grouped_finder.cpp
|
|
|
|
include/grouped_finder.h)
|
2024-03-19 16:26:26 +00:00
|
|
|
|
2024-03-19 16:40:28 +00:00
|
|
|
target_include_directories(vector_search PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
2024-03-19 16:26:26 +00:00
|
|
|
|
2024-03-19 16:40:28 +00:00
|
|
|
target_compile_features(vector_search PUBLIC cxx_std_20)
|