CMakeLists.txt 1.1 KB
Newer Older
J
jinhai 已提交
1 2 3 4 5 6 7
#-------------------------------------------------------------------------------
# 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"
Z
zhiru 已提交
8 9
        #"${VECWISE_THIRD_PARTY_BUILD}/lib"
        "${GTEST_PREFIX}/lib/"
10

J
jinhai 已提交
11
)
Z
zhiru 已提交
12
message(STATUS "GTEST LIB: ${GTEST_PREFIX}/lib")
J
jinhai 已提交
13 14

set(unittest_srcs
Z
zhiru 已提交
15 16
        ${CMAKE_CURRENT_SOURCE_DIR}/vecwise_test.cpp)
        #${EASYLOGGINGPP_INCLUDE_DIR}/easylogging++.cc)
J
jinhai 已提交
17 18

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

G
groot 已提交
38
add_subdirectory(server)
G
groot 已提交
39
add_subdirectory(db)
Y
yangwei.yao 已提交
40
add_subdirectory(faiss_wrapper)
Y
yu yunfeng 已提交
41 42
add_subdirectory(license)
add_subdirectory(metrics)