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-19 16:40:28 +00:00
|
|
|
add_library(vector_search STATIC src/word_list_generator.cpp src/timer.cpp
|
|
|
|
src/linear_finder.cpp src/parallel_finder.cpp)
|
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)
|