2019-04-12 12:58:45 +00:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
|
|
|
|
# Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
|
|
# Proprietary and confidential.
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
link_directories(
|
|
|
|
"${CMAKE_BINARY_DIR}/lib"
|
|
|
|
)
|
2019-06-19 04:03:13 +00:00
|
|
|
|
|
|
|
aux_source_directory(${MILVUS_ENGINE_SRC}/db db_srcs)
|
|
|
|
aux_source_directory(${MILVUS_ENGINE_SRC}/config config_files)
|
|
|
|
|
2019-04-12 12:58:45 +00:00
|
|
|
set(unittest_srcs
|
2019-06-14 09:29:29 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
|
2019-05-29 08:14:15 +00:00
|
|
|
#${EASYLOGGINGPP_INCLUDE_DIR}/easylogging++.cc)
|
2019-04-12 12:58:45 +00:00
|
|
|
|
2019-06-19 04:03:13 +00:00
|
|
|
set(require_files
|
|
|
|
${MILVUS_ENGINE_SRC}/server/ServerConfig.cpp
|
|
|
|
${MILVUS_ENGINE_SRC}/utils/CommonUtil.cpp
|
|
|
|
${MILVUS_ENGINE_SRC}/utils/TimeRecorder.cpp
|
|
|
|
)
|
|
|
|
|
2019-04-12 12:58:45 +00:00
|
|
|
set(unittest_libs
|
2019-04-29 04:04:56 +00:00
|
|
|
yaml-cpp
|
2019-05-29 08:14:15 +00:00
|
|
|
gtest
|
|
|
|
gmock
|
2019-04-14 01:46:12 +00:00
|
|
|
gtest_main
|
|
|
|
gmock_main
|
2019-05-29 08:14:15 +00:00
|
|
|
easyloggingpp
|
2019-05-28 09:50:20 +00:00
|
|
|
pthread
|
2019-05-29 08:14:15 +00:00
|
|
|
metrics
|
|
|
|
openblas
|
2019-05-30 06:50:16 +00:00
|
|
|
gfortran
|
|
|
|
prometheus-cpp-pull
|
|
|
|
prometheus-cpp-push
|
|
|
|
prometheus-cpp-core
|
|
|
|
dl
|
|
|
|
z
|
2019-06-05 07:45:48 +00:00
|
|
|
${CUDA_TOOLKIT_ROOT_DIR}/lib64/stubs/libnvidia-ml.so
|
2019-05-30 06:50:16 +00:00
|
|
|
)
|
2019-04-12 12:58:45 +00:00
|
|
|
|
2019-04-22 09:27:03 +00:00
|
|
|
add_subdirectory(server)
|
2019-04-21 09:01:02 +00:00
|
|
|
add_subdirectory(db)
|
2019-05-08 09:01:11 +00:00
|
|
|
add_subdirectory(faiss_wrapper)
|
2019-06-28 10:25:57 +00:00
|
|
|
#add_subdirectory(license)
|
2019-06-19 04:03:13 +00:00
|
|
|
add_subdirectory(metrics)
|
|
|
|
add_subdirectory(storage)
|