refactor: rename liblib_vector_search to lib_vector_search
This commit is contained in:
parent
e648a82c42
commit
a8c42de4d5
@ -1,15 +1,13 @@
|
|||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
project(
|
project(
|
||||||
lib_vector_search
|
vector_search
|
||||||
VERSION 0.1.0
|
VERSION 0.1.0
|
||||||
LANGUAGES CXX)
|
LANGUAGES CXX)
|
||||||
|
|
||||||
add_library(
|
add_library(vector_search STATIC src/word_list_generator.cpp src/timer.cpp
|
||||||
lib_vector_search STATIC src/word_list_generator.cpp src/timer.cpp
|
src/linear_finder.cpp src/parallel_finder.cpp)
|
||||||
src/linear_finder.cpp src/parallel_finder.cpp)
|
|
||||||
|
|
||||||
target_include_directories(lib_vector_search
|
target_include_directories(vector_search PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
||||||
PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
|
||||||
|
|
||||||
target_compile_features(lib_vector_search PUBLIC cxx_std_20)
|
target_compile_features(vector_search PUBLIC cxx_std_20)
|
||||||
|
@ -7,6 +7,6 @@ project(
|
|||||||
|
|
||||||
add_executable(vector_search_cli main.cpp)
|
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)
|
target_compile_features(vector_search_cli PRIVATE cxx_std_20)
|
||||||
|
Reference in New Issue
Block a user