refactor: rename liblib_vector_search to lib_vector_search

This commit is contained in:
Michael Mandl 2024-03-19 17:40:28 +01:00
parent e648a82c42
commit a8c42de4d5
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
2 changed files with 6 additions and 8 deletions

View file

@ -1,15 +1,13 @@
cmake_minimum_required(VERSION 3.20)
project(
lib_vector_search
vector_search
VERSION 0.1.0
LANGUAGES CXX)
add_library(
lib_vector_search STATIC src/word_list_generator.cpp src/timer.cpp
src/linear_finder.cpp src/parallel_finder.cpp)
add_library(vector_search STATIC src/word_list_generator.cpp src/timer.cpp
src/linear_finder.cpp src/parallel_finder.cpp)
target_include_directories(lib_vector_search
PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_include_directories(vector_search PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_compile_features(lib_vector_search PUBLIC cxx_std_20)
target_compile_features(vector_search PUBLIC cxx_std_20)

View file

@ -7,6 +7,6 @@ project(
add_executable(vector_search_cli main.cpp)
target_link_libraries(vector_search_cli lib_vector_search)
target_link_libraries(vector_search_cli vector_search)
target_compile_features(vector_search_cli PRIVATE cxx_std_20)