diff options
Diffstat (limited to 'akode/plugins/xiph_decoder/CMakeLists.txt')
-rw-r--r-- | akode/plugins/xiph_decoder/CMakeLists.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/akode/plugins/xiph_decoder/CMakeLists.txt b/akode/plugins/xiph_decoder/CMakeLists.txt new file mode 100644 index 0000000..a0d1f28 --- /dev/null +++ b/akode/plugins/xiph_decoder/CMakeLists.txt @@ -0,0 +1,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} +) + |