提交 209127c1 编写于 作者: Z zhiru

Install core unit test


Former-commit-id: ca5af63829888fe86df6daf45ad3223f84da8e9f
上级 26b30c9a
......@@ -92,6 +92,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-487 - Define metric type in CreateTable
- MS-488 - Improve code format in scheduler
- MS-495 - cmake: integrated knowhere
- MS-505 - Install core unit test
## New Feature
- MS-343 - Implement ResourceMgr
......
......@@ -74,6 +74,10 @@ target_link_libraries(test_kdt
SPTAGLibStatic
${depend_libs} ${unittest_libs} ${basic_libs})
install(TARGETS test_ivf DESTINATION unittest)
install(TARGETS test_idmap DESTINATION unittest)
install(TARGETS test_kdt DESTINATION unittest)
add_subdirectory(faiss_ori)
add_subdirectory(test_nsg)
......@@ -24,3 +24,5 @@ if(NOT TARGET test_gpu)
add_executable(test_gpu gpuresource_test.cpp)
endif()
target_link_libraries(test_gpu ${depend_libs} ${unittest_libs} ${basic_libs})
install(TARGETS test_gpu DESTINATION unittest)
\ No newline at end of file
......@@ -38,4 +38,6 @@ if(NOT TARGET test_nsg)
endif()
target_link_libraries(test_nsg ${depend_libs} ${unittest_libs} ${basic_libs})
##############################
\ No newline at end of file
##############################
install(TARGETS test_nsg DESTINATION unittest)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册