summaryrefslogtreecommitdiffstats
path: root/akode/plugins/xiph_decoder/CMakeLists.txt
blob: a0d1f28b2d7a321ae4cd5fb03442334530b8fb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#################################################
#
#  (C) 2015 Slávek Banko
#  slavek (DOT) banko (AT) axis.cz
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_BINARY_DIR}/akode/lib
  ${CMAKE_SOURCE_DIR}/akode/lib
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${SPEEX_INCLUDE_DIRS}
)


##### library ###################################

set( target libakode_xiph_decoder )

set( ${target}_SRCS
  flac_decoder.cpp
  flac113_decoder.cpp
  speex_decoder.cpp
  vorbis_decoder.cpp
  xiph_decoder.cpp
)

tde_add_library(
  ${target} MODULE
  SOURCES ${${target}_SRCS}
  LINK
    akode-shared
    ${FLAC_LIBRARIES} ${OGGFLAC_LIBRARIES}
    ${VORBIS_LIBRARIES} ${VORBISFILE_LIBRARIES}
    ${SPEEX_LIBRARIES}
  DESTINATION ${LIB_INSTALL_DIR}
)