mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00

* add yolov5cls * fixed bugs * fixed bugs * fixed preprocess bug * add yolov5cls readme * deal with comments * Add YOLOv5Cls Note * add yolov5cls test * add rvm support * support rvm model * add rvm demo * fixed bugs * add rvm readme * add TRT support * add trt support * add rvm test * add EXPORT.md * rename export.md * rm poros doxyen * deal with comments * deal with comments * add rvm video_mode note Co-authored-by: Jason <jiangjiajun@baidu.com> Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
15 lines
447 B
CMake
15 lines
447 B
CMake
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_demo ${PROJECT_SOURCE_DIR}/infer.cc)
|
|
# 添加FastDeploy库依赖
|
|
target_link_libraries(infer_demo ${FASTDEPLOY_LIBS})
|