mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
64295db471
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
25 lines
593 B
CMake
25 lines
593 B
CMake
enable_testing()
|
|
find_package(GTest REQUIRED)
|
|
|
|
include_directories(${CMAKE_HOME_DIRECTORY}/src)
|
|
include_directories(>>>> ${CMAKE_HOME_DIRECTORY}/src/index/knowhere)
|
|
set(MILVUS_TEST_FILES
|
|
test_naive.cpp
|
|
test_dog_segment.cpp
|
|
test_concurrent_vector.cpp
|
|
test_c_api.cpp
|
|
test_indexing.cpp
|
|
)
|
|
add_executable(all_tests
|
|
${MILVUS_TEST_FILES}
|
|
)
|
|
|
|
target_link_libraries(all_tests
|
|
gtest
|
|
gtest_main
|
|
milvus_dog_segment
|
|
knowhere
|
|
log
|
|
pthread
|
|
)
|
|
install (TARGETS all_tests DESTINATION unittest) |