Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

CMakeLists.txt 490 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. cmake_minimum_required(VERSION 3.12)
  2. project(mnn_yolo_cpp)
  3. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
  4. include_directories(${CMAKE_CURRENT_LIST_DIR}/include/)
  5. link_directories(${CMAKE_CURRENT_LIST_DIR}/libs)
  6. add_executable("main" "${CMAKE_CURRENT_LIST_DIR}/main.cpp")
  7. add_executable("main_interpreter" "${CMAKE_CURRENT_LIST_DIR}/main_interpreter.cpp")
  8. target_link_libraries("main" MNN MNN_Express MNNOpenCV)
  9. target_link_libraries("main_interpreter" MNN MNN_Express MNNOpenCV)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...