forked from PaddlePaddle/FastDeploy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
22 lines (15 loc) · 848 Bytes
/
CMakeLists.txt
File metadata and controls
22 lines (15 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PROJECT(infer_demo C CXX)
CMAKE_MINIMUM_REQUIRED (VERSION 3.10)
# 指定下载解压后的fastdeploy库路径
option(FASTDEPLOY_INSTALL_DIR "Path of downloaded fastdeploy sdk.")
include(${FASTDEPLOY_INSTALL_DIR}/FastDeploy.cmake)
# 添加FastDeploy依赖头文件
include_directories(${FASTDEPLOY_INCS})
add_executable(infer_arcface_demo ${PROJECT_SOURCE_DIR}/infer_arcface.cc)
target_link_libraries(infer_arcface_demo ${FASTDEPLOY_LIBS})
add_executable(infer_cosface_demo ${PROJECT_SOURCE_DIR}/infer_cosface.cc)
target_link_libraries(infer_cosface_demo ${FASTDEPLOY_LIBS})
add_executable(infer_vpl_demo ${PROJECT_SOURCE_DIR}/infer_vpl.cc)
target_link_libraries(infer_vpl_demo ${FASTDEPLOY_LIBS})
add_executable(infer_partial_fc_demo ${PROJECT_SOURCE_DIR}/infer_partial_fc.cc)
target_link_libraries(infer_partial_fc_demo ${FASTDEPLOY_LIBS})