mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00

* add GPL lisence * add GPL-3.0 lisence * add GPL-3.0 lisence * add GPL-3.0 lisence * support yolov8 * add pybind for yolov8 * add yolov8 readme Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
15 lines
491 B
CMake
Executable File
15 lines
491 B
CMake
Executable File
PROJECT(infer_demo C CXX)
|
|
CMAKE_MINIMUM_REQUIRED (VERSION 3.10)
|
|
|
|
# Specify the fastdeploy library path after downloading and decompression
|
|
option(FASTDEPLOY_INSTALL_DIR "Path of downloaded fastdeploy sdk.")
|
|
|
|
include(${FASTDEPLOY_INSTALL_DIR}/FastDeploy.cmake)
|
|
|
|
# Add FastDeploy dependent header files
|
|
include_directories(${FASTDEPLOY_INCS})
|
|
|
|
add_executable(infer_demo ${PROJECT_SOURCE_DIR}/infer.cc)
|
|
# Add FastDeploy library dependencies
|
|
target_link_libraries(infer_demo ${FASTDEPLOY_LIBS})
|