Initial commit
This commit is contained in:
42
packages/leann-backend-diskann/third_party/DiskANN/apps/CMakeLists.txt
vendored
Normal file
42
packages/leann-backend-diskann/third_party/DiskANN/apps/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT license.
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
|
||||
|
||||
add_executable(build_memory_index build_memory_index.cpp)
|
||||
target_link_libraries(build_memory_index ${PROJECT_NAME} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} Boost::program_options)
|
||||
|
||||
add_executable(build_stitched_index build_stitched_index.cpp)
|
||||
target_link_libraries(build_stitched_index ${PROJECT_NAME} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} Boost::program_options)
|
||||
|
||||
add_executable(search_memory_index search_memory_index.cpp)
|
||||
target_link_libraries(search_memory_index ${PROJECT_NAME} ${DISKANN_ASYNC_LIB} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} Boost::program_options)
|
||||
|
||||
add_executable(build_disk_index build_disk_index.cpp)
|
||||
target_link_libraries(build_disk_index ${PROJECT_NAME} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} ${DISKANN_ASYNC_LIB} Boost::program_options)
|
||||
|
||||
add_executable(search_disk_index search_disk_index.cpp)
|
||||
target_link_libraries(search_disk_index ${PROJECT_NAME} ${DISKANN_ASYNC_LIB} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} Boost::program_options)
|
||||
|
||||
add_executable(range_search_disk_index range_search_disk_index.cpp)
|
||||
target_link_libraries(range_search_disk_index ${PROJECT_NAME} ${DISKANN_ASYNC_LIB} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} Boost::program_options)
|
||||
|
||||
add_executable(test_streaming_scenario test_streaming_scenario.cpp)
|
||||
target_link_libraries(test_streaming_scenario ${PROJECT_NAME} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} Boost::program_options)
|
||||
|
||||
add_executable(test_insert_deletes_consolidate test_insert_deletes_consolidate.cpp)
|
||||
target_link_libraries(test_insert_deletes_consolidate ${PROJECT_NAME} ${DISKANN_TOOLS_TCMALLOC_LINK_OPTIONS} Boost::program_options)
|
||||
|
||||
if (NOT MSVC)
|
||||
install(TARGETS build_memory_index
|
||||
build_stitched_index
|
||||
search_memory_index
|
||||
build_disk_index
|
||||
search_disk_index
|
||||
range_search_disk_index
|
||||
test_streaming_scenario
|
||||
test_insert_deletes_consolidate
|
||||
RUNTIME
|
||||
)
|
||||
endif()
|
||||
Reference in New Issue
Block a user