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 596 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. set(PYTHON_FILES
  2. openpose.py
  3. __init__.py
  4. openpose_python.cpp)
  5. pybind11_add_module(pyopenpose openpose_python.cpp)
  6. target_link_libraries(pyopenpose PRIVATE pybind11::module openpose ${OpenPose_3rdparty_libraries})
  7. SET_TARGET_PROPERTIES(pyopenpose PROPERTIES PREFIX "")
  8. configure_file(__init__.py __init__.py)
  9. install(TARGETS pyopenpose DESTINATION python)
  10. install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ DESTINATION python/openpose FILES_MATCHING PATTERN "*.so")
  11. install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ DESTINATION python/openpose FILES_MATCHING PATTERN "*.py")
Tip!

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

Comments

Loading...