1 Star 0 Fork 16

xzg2021/BXC_VideoPlayer

forked from Vanishi/BXC_VideoPlayer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 653 Bytes
一键复制 编辑 原始数据 按行查看 历史
Vanishi 提交于 2023-08-02 21:36 . init
cmake_minimum_required(VERSION 3.10.2)
project(BXC_VideoPlayer)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_BUILD_TYPE DEBUG)
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
set(INCLUDE_DIR /usr/local/include)
set(LIB_DIR /usr/local/lib)
include_directories(${INCLUDE_DIR})
link_directories(${LIB_DIR})
add_executable(BXC_VideoPlayer
VideoPlayer/VideoPlayer.cpp
VideoPlayer/main.cpp
)
TARGET_LINK_LIBRARIES(BXC_VideoPlayer avformat avcodec avutil swscale swresample pthread)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/xzg2021/BXC_VideoPlayer.git
[email protected]:xzg2021/BXC_VideoPlayer.git
xzg2021
BXC_VideoPlayer
BXC_VideoPlayer
master

搜索帮助