VectorSearch/lib_vector_search/CMakeLists.txt

26 lines
570 B
CMake

cmake_minimum_required(VERSION 3.20)
project(
vector_search
VERSION 0.1.0
LANGUAGES CXX)
add_library(
vector_search STATIC
src/word_list_generator.cpp
include/word_list_generator.h
src/timer.cpp
include/timer.h
src/linear_finder.cpp
include/linear_finder.h
src/parallel_finder.cpp
include/parallel_finder.h
src/tree_finder.cpp
include/tree_finder.h
src/grouped_finder.cpp
include/grouped_finder.h)
target_include_directories(vector_search PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_compile_features(vector_search PUBLIC cxx_std_20)