VectorSearch/lib_vector_search/CMakeLists.txt

24 lines
518 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.20)
project(
vector_search
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/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)
target_include_directories(vector_search PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_compile_features(vector_search PUBLIC cxx_std_20)