From efcdd889254fc98314dd48854d50e90aa21e53c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 26 Mar 2017 15:58:46 +0200 Subject: Initial cmake conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 8b12682035e2ae92a29a9ce12abc5fbcf38b1192) --- mpeglib/lib/CMakeLists.txt | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 mpeglib/lib/CMakeLists.txt (limited to 'mpeglib/lib/CMakeLists.txt') diff --git a/mpeglib/lib/CMakeLists.txt b/mpeglib/lib/CMakeLists.txt new file mode 100644 index 00000000..0cb4b49a --- /dev/null +++ b/mpeglib/lib/CMakeLists.txt @@ -0,0 +1,67 @@ +################################################# +# +# (C) 2017 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( decoder ) +add_subdirectory( frame ) +add_subdirectory( input ) +add_subdirectory( mpegplay ) +add_subdirectory( mpgplayer ) +add_subdirectory( oggvorbis ) +add_subdirectory( output ) +add_subdirectory( splay ) +add_subdirectory( tplay ) +add_subdirectory( util ) +add_subdirectory( yuv ) + + +include_directories( + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${ARTS_LIBRARY_DIRS} +) + + +##### mpeg-lib (library) ######################## + +tde_add_library( mpeg SHARED + SOURCES dummy.cpp + RELEASE ${MPEGLIB_VERSION} + EMBED + mpeg_mpgplayer-static + mpeg_mpegplay-static + mpeg_splay-static + mpeg_oggvorbisbase-static + mpeg_tplay-static + mpeg_decoder-static + mpeg_output-static + mpeg_input-static + mpeg_util-static + mpeg_utilabstract-static + mpeg_utilaudio-static + mpeg_utilsimplefile-static + mpeg_utilrender-static + mpeg_utilrenderdither-static + mpeg_utilrenderdither2YUV-static + mpeg_utilrenderx11-static + mpeg_utilmmx-static + mpeg_frame-static + mpeg_yuvPlugin-static + LINK + mcop kmedia2_idl soundserver_idl artsflow_idl artsmodules-shared + X11 ${XEXT_LIBRARIES} m ${XV_LIBRARIES} ${DGA_LIBRARIES} ${XVIDMODE_LIBRARIES} + ${CDPARANOIA_LIBRARIES} ${VORBIS_LIBRARIES} ${VORBISFILE_LIBRARIES} pthread + DESTINATION ${LIB_INSTALL_DIR} +) -- cgit v1.2.1