提交 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. ...@@ -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-487 - Define metric type in CreateTable
- MS-488 - Improve code format in scheduler - MS-488 - Improve code format in scheduler
- MS-495 - cmake: integrated knowhere - MS-495 - cmake: integrated knowhere
- MS-505 - Install core unit test
## New Feature ## New Feature
- MS-343 - Implement ResourceMgr - MS-343 - Implement ResourceMgr
......
...@@ -74,6 +74,10 @@ target_link_libraries(test_kdt ...@@ -74,6 +74,10 @@ target_link_libraries(test_kdt
SPTAGLibStatic SPTAGLibStatic
${depend_libs} ${unittest_libs} ${basic_libs}) ${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(faiss_ori)
add_subdirectory(test_nsg) add_subdirectory(test_nsg)
...@@ -24,3 +24,5 @@ if(NOT TARGET test_gpu) ...@@ -24,3 +24,5 @@ if(NOT TARGET test_gpu)
add_executable(test_gpu gpuresource_test.cpp) add_executable(test_gpu gpuresource_test.cpp)
endif() endif()
target_link_libraries(test_gpu ${depend_libs} ${unittest_libs} ${basic_libs}) 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) ...@@ -38,4 +38,6 @@ if(NOT TARGET test_nsg)
endif() endif()
target_link_libraries(test_nsg ${depend_libs} ${unittest_libs} ${basic_libs}) 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.
先完成此消息的编辑!
想要评论请 注册