1 Star 0 Fork 53

LanPZzzzPublic / avplayer

forked from Jack.arain / avplayer 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
CMakeLists.txt 976 Bytes
Copy Edit Web IDE Raw Blame History
microcai authored 2013-03-10 19:12 . linux sync with win32 fix build error
cmake_minimum_required(VERSION 2.8)
project(avplayer)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}")
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_STATIC_RUNTIME ON)
find_package( Boost 1.50 REQUIRED COMPONENTS thread filesystem)
add_definitions(-D__STDC_CONSTANT_MACROS)
#dont't define this, libbt need depreated api
include_directories(${Boost_INCLUDE_DIRS})
include_directories(${PROJECT_SOURCE_DIR})
include_directories(libav/)
include_directories(source/)
include_directories(audio/)
option(bt "support bt protocol" ON)
option(yk "support youku video" ON)
add_subdirectory(libav)
add_subdirectory(video)
add_subdirectory(audio)
add_subdirectory(source)
if(bt)
add_subdirectory(libtorrent)
endif()
if(yk)
add_subdirectory(libyk)
endif()
if(UNIX)
add_subdirectory(linux)
endif()
if(WIN32)
add_subdirectory(win32)
endif()

Comment ( 0 )

Sign in for post a comment

C++
1
https://gitee.com/LanPZzzzPublic/avplayer.git
git@gitee.com:LanPZzzzPublic/avplayer.git
LanPZzzzPublic
avplayer
avplayer
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385