CMakeLists.txt 973 字节
Newer Older
J
jinhai 已提交
1 2 3 4 5 6
#-------------------------------------------------------------------------------
# Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
# Unauthorized copying of this file, via any medium is strictly prohibited.
# Proprietary and confidential.
#-------------------------------------------------------------------------------

J
jinhai 已提交
7 8 9 10
aux_source_directory(cache cache_files)
aux_source_directory(config config_files)
aux_source_directory(server server_files)
aux_source_directory(utils utils_files)
G
groot 已提交
11

J
jinhai 已提交
12 13
set(vecwise_engine_src
        ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
G
groot 已提交
14
        ${cache_files}
G
groot 已提交
15
        )
J
jinhai 已提交
16

J
jinhai 已提交
17
add_library(vecwise_engine STATIC ${vecwise_engine_src})
G
groot 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31

add_executable(vecwise_engine_server
        ${config_files}
        ${server_files}
        ${utils_files}
        )

set(dependency_libs
        vecwise_engine
        yaml-cpp
        boost_system
        boost_filesystem
        )
target_link_libraries(vecwise_engine_server ${dependency_libs})