CMakeLists.txt 1.3 KB
Newer Older
J
jinhai 已提交
1 2 3 4 5 6 7 8
#-------------------------------------------------------------------------------
# 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"
)
9 10 11

aux_source_directory(${MILVUS_ENGINE_SRC}/db db_srcs)
aux_source_directory(${MILVUS_ENGINE_SRC}/config config_files)
J
jinhai 已提交
12 13

set(unittest_srcs
G
groot 已提交
14
        ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
J
jinhai 已提交
15

16 17 18 19 20 21
set(require_files
        ${MILVUS_ENGINE_SRC}/server/ServerConfig.cpp
        ${MILVUS_ENGINE_SRC}/utils/CommonUtil.cpp
        ${MILVUS_ENGINE_SRC}/utils/TimeRecorder.cpp
        )

J
jinhai 已提交
22
set(unittest_libs
G
groot 已提交
23
        yaml-cpp
Z
zhiru 已提交
24 25
        gtest
        gmock
J
jinhai 已提交
26 27
        gtest_main
        gmock_main
Z
zhiru 已提交
28
        easyloggingpp
Y
yu yunfeng 已提交
29
        pthread
Z
zhiru 已提交
30
        metrics
31 32 33 34 35 36
        gfortran
        prometheus-cpp-pull
        prometheus-cpp-push
        prometheus-cpp-core
        dl
        z
Y
yu yunfeng 已提交
37
        ${CUDA_TOOLKIT_ROOT_DIR}/lib64/stubs/libnvidia-ml.so
38
        )
J
jinhai 已提交
39

G
groot 已提交
40
add_subdirectory(server)
G
groot 已提交
41
add_subdirectory(db)
Y
yangwei.yao 已提交
42
add_subdirectory(faiss_wrapper)
S
starlord 已提交
43
#add_subdirectory(license)
44
add_subdirectory(metrics)
J
jinhai 已提交
45 46
add_subdirectory(storage)
add_subdirectory(utils)