mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
ed54d3e26c
Signed-off-by: sunby <bingyi.sun@zilliz.com>
31 lines
668 B
CMake
31 lines
668 B
CMake
enable_testing()
|
|
|
|
include_directories(${CMAKE_HOME_DIRECTORY}/src)
|
|
include_directories(${CMAKE_HOME_DIRECTORY}/src/index/knowhere)
|
|
set(MILVUS_TEST_FILES
|
|
test_naive.cpp
|
|
test_segcore.cpp
|
|
test_concurrent_vector.cpp
|
|
test_c_api.cpp
|
|
test_indexing.cpp
|
|
test_query.cpp
|
|
test_expr.cpp
|
|
test_bitmap.cpp
|
|
test_binary.cpp
|
|
)
|
|
add_executable(all_tests
|
|
${MILVUS_TEST_FILES}
|
|
)
|
|
|
|
target_link_libraries(all_tests
|
|
gtest
|
|
gtest_main
|
|
milvus_segcore
|
|
knowhere
|
|
log
|
|
pthread
|
|
milvus_utils
|
|
)
|
|
|
|
install (TARGETS all_tests DESTINATION unittest)
|