diff options
author | Alexander Golubev <[email protected]> | 2016-02-24 05:42:03 +0300 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-12 17:41:46 +0100 |
commit | 737e53d58ce8cafd6f3835dc93721851476bad1c (patch) | |
tree | eb1d7b8d530f999b380dc3b40d4904042ecafb43 /src/rip | |
parent | e084ed4c7d0491f8027fbc41b9f4c8e7677692c3 (diff) | |
download | k3b-737e53d58ce8cafd6f3835dc93721851476bad1c.tar.gz k3b-737e53d58ce8cafd6f3835dc93721851476bad1c.zip |
Initial cmake conversion
Diffstat (limited to 'src/rip')
-rw-r--r-- | src/rip/CMakeLists.txt | 52 | ||||
-rw-r--r-- | src/rip/videodvd/CMakeLists.txt | 40 |
2 files changed, 92 insertions, 0 deletions
diff --git a/src/rip/CMakeLists.txt b/src/rip/CMakeLists.txt new file mode 100644 index 0000000..0252281 --- /dev/null +++ b/src/rip/CMakeLists.txt @@ -0,0 +1,52 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/cddb + ${CMAKE_SOURCE_DIR}/libk3b/jobs + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/audiocd + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/src + ${CMAKE_SOURCE_DIR}/src/projects + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### rip (static) ############################## + +if ( WITH_LIBDVDREAD ) + add_subdirectory( videodvd ) + set ( VIDEODVDRIPGUI_LIBRARIES videodvdripgui-static) +endif ( ) + +tde_add_library( rip STATIC_PIC AUTOMOC + SOURCES base_k3baudiorippingoptionwidget.ui base_k3bcddbpatternwidget.ui + k3bpatternparser.cpp k3baudiorippingdialog.cpp k3baudioripthread.cpp + k3baudiocdview.cpp k3bcddbpatternwidget.cpp k3bvideocdinfo.cpp + k3bvideocdview.cpp k3bvideocdrip.cpp k3bvideocdrippingdialog.cpp + k3bcuefilewriter.cpp k3baudioconvertingoptionwidget.cpp + k3baudiocdlistview.cpp k3baudioprojectconvertingdialog.cpp + k3baudioprojectconvertingthread.cpp k3baudioripjob.cpp + LINK ${VIDEODVDRIPGUI_LIBRARIES} +) diff --git a/src/rip/videodvd/CMakeLists.txt b/src/rip/videodvd/CMakeLists.txt new file mode 100644 index 0000000..7770071 --- /dev/null +++ b/src/rip/videodvd/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/videodvd + ${CMAKE_SOURCE_DIR}/libk3b/jobs + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${LIBDVDREAD_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${LIBDVDREAD_LIBRARY_DIRS} +) + + +##### videodvdrip (static) ###################### + +tde_add_library( videodvdripgui STATIC_PIC AUTOMOC + SOURCES base_k3bvideodvdrippingwidget.ui k3bvideodvdrippingview.cpp + k3bvideodvdrippingtitlelistview.cpp k3bvideodvdrippingjob.cpp + k3bvideodvdrippingwidget.cpp k3bvideodvdrippingdialog.cpp + k3bvideodvdrippingpreview.cpp + LINK ${LIBDVDREAD_LIBRARIES} +) |