1 Star 1 Fork 1

weimingtom2000/esp-dl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
Ye Hang Yang 提交于 2021-08-31 11:39 . :bug:add include/math
idf_build_get_property(target IDF_TARGET)
if(${IDF_TARGET} STREQUAL "esp32")
set(links "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32")
elseif(${IDF_TARGET} STREQUAL "esp32s2")
set(links "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32s2")
elseif(${IDF_TARGET} STREQUAL "esp32s3")
set(links "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32s3")
elseif(${IDF_TARGET} STREQUAL "esp32c3")
set(links "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32c3")
endif()
set(COMPONENT_ADD_INCLUDEDIRS include/
include/tool
include/typedef
include/image
include/math
include/nn
include/layer
include/detect
include/model_zoo)
register_component()
target_link_libraries(${COMPONENT_TARGET} INTERFACE ${links})
set(lib libcat_face_detect.a
libhuman_face_detect.a
libdl.a)
target_link_libraries(${COMPONENT_TARGET} INTERFACE ${lib})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/weimingtom2000/esp-dl.git
[email protected]:weimingtom2000/esp-dl.git
weimingtom2000
esp-dl
esp-dl
master

搜索帮助