加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
浪的虚名 提交于 2021-12-17 17:18 . 增加fPIC标记
# 最低版本要求
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
# 项目名称
PROJECT(live555)
# 配置vsocdedebug
add_definitions(-std=c++11)
add_definitions(-fpermissive)
add_definitions(-fPIC)
add_definitions(-D NO_OPENSSL)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/BasicUsageEnvironment/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/groupsock/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/liveMedia/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/UsageEnvironment/include)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/BasicUsageEnvironment/include)
set(cmake_build_type "Debug")
set(cmake_cxx_flage_debug "$ENV{CXXFLAGS} -O0 -Wall -g -ggdb")
set(cmake_cxx_flags_release "$ENV{CXXFLAGS} -03 -Wall")
# 添加子目录
ADD_SUBDIRECTORY(./UsageEnvironment)
ADD_SUBDIRECTORY(./BasicUsageEnvironment)
ADD_SUBDIRECTORY(./groupsock)
ADD_SUBDIRECTORY(./liveMedia)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化