代码拉取完成,页面将自动刷新
同步操作将从 阿传/MediaDecoder 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
install(DIRECTORY ${PROJECT_ROOT}/comn/ DESTINATION comn)
install(DIRECTORY ${PROJECT_ROOT}/DemoFile/ DESTINATION DemoFile)
install(DIRECTORY ${PROJECT_ROOT}/DemoUrl/ DESTINATION DemoUrl)
install(DIRECTORY ${PROJECT_ROOT}/DemoStream/ DESTINATION DemoStream)
install(DIRECTORY ${PROJECT_ROOT}/DemoWin/ DESTINATION DemoWin)
install(DIRECTORY ${PROJECT_ROOT}/cmake/ DESTINATION cmake)
install(DIRECTORY ${THIRD_PARTY}/ffmpeg/ DESTINATION third_party/ffmpeg)
install(DIRECTORY ${THIRD_PARTY}/SDL2/ DESTINATION third_party/SDL2)
install(FILES ${PROJECT_ROOT}/setup/CMakeLists.txt DESTINATION .)
if(WIN32)
install(DIRECTORY ${THIRD_PARTY}/ffmpeg/bin/ DESTINATION bin FILES_MATCHING PATTERN "*.exe")
install(DIRECTORY ${THIRD_PARTY}/ffmpeg/bin/ DESTINATION lib FILES_MATCHING PATTERN "*.dll")
install(DIRECTORY ${THIRD_PARTY}/SDL2/lib/x86/ DESTINATION lib FILES_MATCHING PATTERN "*.dll")
else()
install(DIRECTORY ${THIRD_PARTY}/ffmpeg/linux/lib/ DESTINATION lib FILES_MATCHING PATTERN "lib*")
install(FILES ${THIRD_PARTY}/SDL2/lib/libSDL2.so DESTINATION lib)
install(FILES ${THIRD_PARTY}/SDL2/lib/libSDL2.so DESTINATION lib RENAME libSDL2-2.0.so.0)
endif()
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION .)
#include(InstallRequiredSystemLibraries)
#set(CPACK_PACKAGE_DIRECTORY ${PROJECT_ROOT})
set(CPACK_PACKAGE_NAME "MediaDecoder")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "media decoder")
set(CPACK_PACKAGE_VENDOR "www.100wits.com")
set(CPACK_PACKAGE_VERSION_MAJOR "1")
set(CPACK_PACKAGE_VERSION_MINOR "0")
set(CPACK_PACKAGE_VERSION_PATCH "21")
if(UNIX)
SET(CPACK_GENERATOR "TGZ")
else()
SET(CPACK_GENERATOR "ZIP")
endif()
set(CPACK_OUTPUT_FILE_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/dist")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
include(CPack)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。