Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « TheoraPlayer « Projects - github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 77eed6e1d8f30b861d959e8281d9ec65d6dbb0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
PROJECT(TheoraPlayer)

SET(LIBDIR "${CMAKE_SOURCE_DIR}/../Libraries")
SET(SRCDIR "${CMAKE_SOURCE_DIR}/../Libraries/TheoraPlayer/Source")

INCLUDE_DIRECTORIES(
    ${SRCDIR}
    ${LIBDIR}/Linux/include
    ${LIBDIR}/theora/include
    ${LIBDIR}/ogg/include
    ${LIBDIR}/vorbis/include
)

FILE(GLOB THEORAPLAYER_SRCS
    ${SRCDIR}/TheoraPlayer/*.cpp
)

ADD_LIBRARY(TheoraPlayer STATIC ${THEORAPLAYER_SRCS})