1 Star 0 Fork 0

vincent/sunseeker_detection

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
vincent 提交于 2024-06-19 14:11 . first commit
cmake_minimum_required(VERSION 2.8)
project(00_quick_start)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ")
if (NOT DEPS_ROOT)
set(DEPS_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../deps/aarch64)
endif ()
message(STATUS "DEPS_ROOT: ${DEPS_ROOT}")
if (NOT RELEASE_ROOT)
set(RELEASE_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../script/)
endif ()
message(STATUS "RELEASE_ROOT: ${RELEASE_ROOT}")
set(RELEASE_LIB_DIR ${RELEASE_ROOT}/aarch64/lib/)
set(RELEASE_BIN_DIR ${RELEASE_ROOT}/aarch64/bin/)
include_directories(
${HOST_PACKAGE_DIR}/dnn/include
${DEPS_ROOT}/glog/include
${DEPS_ROOT}/gflags/include
${DEPS_ROOT}/opencv/include)
link_directories(
${HOST_PACKAGE_DIR}/dnn/lib
${HOST_PACKAGE_DIR}/appsdk/appuser/lib
${HOST_PACKAGE_DIR}/appsdk/appuser/lib/hbbpu
${DEPS_ROOT}/glog/lib
${DEPS_ROOT}/gflags/lib
${DEPS_ROOT}/opencv/lib)
SET(LINK_libs dnn gflags glog opencv_world zlib dl rt pthread dnn)
add_executable(run_mobileNetV1_224x224 src/run_mobileNetV1_224x224.cc)
target_link_libraries(run_mobileNetV1_224x224 ${LINK_libs})
install(TARGETS run_mobileNetV1_224x224 DESTINATION ${RELEASE_BIN_DIR})
file(COPY ${HOST_PACKAGE_DIR}/dnn/lib/libdnn.so DESTINATION ${RELEASE_LIB_DIR})
file(COPY ${DEPS_ROOT}/opencv/lib/libopencv_world.so.3.4 DESTINATION ${RELEASE_LIB_DIR})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/vincent1515/x3_detection_demo.git
git@gitee.com:vincent1515/x3_detection_demo.git
vincent1515
x3_detection_demo
sunseeker_detection
master

搜索帮助