Skip to content

Commit

Permalink
Added necessary files for functionality of pose test, added cmake and…
Browse files Browse the repository at this point in the history
… adjusted build so it would work
  • Loading branch information
itsafuu committed Feb 3, 2024
1 parent 3cbe637 commit 0aab968
Show file tree
Hide file tree
Showing 7 changed files with 11,810 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/CommonBuildParameters.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ if (BUILD_EXAMPLES)
add_subdirectory(${PROJECT_ROOT}/example ${CMAKE_BINARY_DIR}/example)
endif ()
add_subdirectory(${PROJECT_ROOT}/example/AsyncFile ${CMAKE_BINARY_DIR}/example/AsyncFile)
add_subdirectory(${PROJECT_ROOT}/example/mnn_chunkprocess ${CMAKE_BINARY_DIR}/example/mnn_chunkprocess)

install(
EXPORT supergeniusTargets
Expand Down
10 changes: 10 additions & 0 deletions example/mnn_chunkprocess/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#add_subdirectory(application)
set(MNN_INCLUDE_DIR "${_THIRDPARTY_BUILD_DIR}/MNN/include")
set(MNN_LIBRARY_DIR "${_THIRDPARTY_BUILD_DIR}/MNN/lib")
include_directories(${MNN_INCLUDE_DIR})
set(MNN_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../MNN/include")
FILE(GLOB MNN_LIBS "${MNN_LIBRARY_DIR}/*")
add_executable(mnn_chunkprocess multiPose.cpp)
target_link_libraries(mnn_chunkprocess PRIVATE ${MNN_LIBS})
include_directories(../include)
include_directories(./imageHelper)
Binary file added example/mnn_chunkprocess/frisbee3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0aab968

Please sign in to comment.