代码拉取完成,页面将自动刷新
同步操作将从 阿传/TsCaster 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TsCaster)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
option(NOCRT "link crt static" ON)
if (MSVC)
#warning 4251
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4819 /wd4996 ")
if (NOCRT)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /DWIN32 /MTd")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /DWIN32 /MT")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /DWIN32 /MTd")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /DWIN32 /MT")
endif()
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /SAFESEH:NO")
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /OPT:NOREF /OPT:ICF /SAFESEH:NO")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PROJECT_SOURCE_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PROJECT_SOURCE_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${PROJECT_SOURCE_DIR}/lib)
if (MSVC90)
add_definitions(-D_BIND_TO_CURRENT_VCLIBS_VERSION=1)
endif()
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -std=c++11")
endif()
set(PROJECT_ROOT ${PROJECT_SOURCE_DIR})
set(THIRD_PARTY ${PROJECT_ROOT}/third_party)
set(COMN_DIR ${PROJECT_ROOT}/comn)
SET(DIR_FFMPEG ${THIRD_PARTY}/ffmpeg)
SET(DIR_FFMPEG_LIB ${THIRD_PARTY}/ffmpeg/lib)
SET(LIB_FFMPEG avutil avcodec avformat)
if(CMAKE_HOST_WIN32)
else()
SET(LIB_FFMPEG avutil-55 avcodec-57 avformat-57)
endif()
if(CMAKE_TOOLCHAIN_FILE)
if(ARM_HISIV400_LINUX)
SET(DIR_FFMPEG_LIB ${THIRD_PARTY}/ffmpeg/arm_v400)
else()
SET(DIR_FFMPEG_LIB ${THIRD_PARTY}/ffmpeg/arm)
endif()
endif()
if (CMAKE_HOST_WIN32)
set(LIB_PLATFORM ws2_32 )
else()
set(LIB_PLATFORM pthread rt)
endif()
ADD_SUBDIRECTORY(comn)
ADD_SUBDIRECTORY(third_party)
ADD_SUBDIRECTORY(TsCaster)
ADD_SUBDIRECTORY(DemoCaster)
ADD_SUBDIRECTORY(DemoTs)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。