mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
19 lines
449 B
CMake
19 lines
449 B
CMake
|
include_directories(${CMAKE_HOME_DIRECTORY}/src)
|
||
|
include_directories(${CMAKE_HOME_DIRECTORY}/unittest)
|
||
|
include_directories(${CMAKE_HOME_DIRECTORY}/src/index/knowhere)
|
||
|
|
||
|
set(bench_srcs
|
||
|
bench_naive.cpp
|
||
|
bench_search.cpp
|
||
|
)
|
||
|
|
||
|
add_executable(all_bench ${bench_srcs})
|
||
|
target_link_libraries(all_bench
|
||
|
milvus_segcore
|
||
|
milvus_indexbuilder
|
||
|
log
|
||
|
pthread
|
||
|
)
|
||
|
|
||
|
target_link_libraries(all_bench benchmark::benchmark_main)
|