summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-02-24 05:42:03 +0300
committerSlávek Banko <slavek.banko@axis.cz>2016-03-12 17:41:46 +0100
commit737e53d58ce8cafd6f3835dc93721851476bad1c (patch)
treeeb1d7b8d530f999b380dc3b40d4904042ecafb43 /src
parente084ed4c7d0491f8027fbc41b9f4c8e7677692c3 (diff)
downloadk3b-737e53d58ce8cafd6f3835dc93721851476bad1c.tar.gz
k3b-737e53d58ce8cafd6f3835dc93721851476bad1c.zip
Initial cmake conversion
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt97
-rw-r--r--src/fastscale/CMakeLists.txt33
-rw-r--r--src/icons/CMakeLists.txt8
-rw-r--r--src/icons/actions/CMakeLists.txt12
-rw-r--r--src/konqi/CMakeLists.txt13
-rw-r--r--src/mimetypes/CMakeLists.txt5
-rw-r--r--src/misc/CMakeLists.txt37
-rw-r--r--src/option/CMakeLists.txt40
-rw-r--r--src/pics/73lab/CMakeLists.txt9
-rw-r--r--src/pics/CMakeLists.txt6
-rw-r--r--src/pics/RobsTheme/CMakeLists.txt8
-rw-r--r--src/pics/crystal/CMakeLists.txt9
-rw-r--r--src/pics/quant/CMakeLists.txt8
-rw-r--r--src/projects/CMakeLists.txt72
-rw-r--r--src/projects/kostore/CMakeLists.txt20
-rw-r--r--src/rip/CMakeLists.txt52
-rw-r--r--src/rip/videodvd/CMakeLists.txt40
-rw-r--r--src/sounds/CMakeLists.txt14
18 files changed, 483 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..24f2ab3
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,97 @@
+#################################################
+#
+# (C) 2016 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( option )
+add_subdirectory( misc )
+add_subdirectory( rip )
+add_subdirectory( projects )
+add_subdirectory( fastscale )
+add_subdirectory( pics )
+add_subdirectory( icons )
+add_subdirectory( konqi )
+add_subdirectory( mimetypes )
+add_subdirectory( sounds )
+
+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/videodvd
+ ${CMAKE_SOURCE_DIR}/libk3b/jobs
+ ${CMAKE_SOURCE_DIR}/libk3bdevice
+ ${CMAKE_SOURCE_DIR}/libk3b/projects
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/datacd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/datadvd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/audiocd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/videocd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/mixedcd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/movixcd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/videodvd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/movixdvd
+ ${CMAKE_SOURCE_DIR}/libk3b/plugin
+ ${CMAKE_CURRENT_SOURCE_DIR}/projects
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${MUSICBRAINZ_LIBRARY_DIRS}
+)
+
+
+##### k3b (executable) ##########################
+
+tde_add_executable( k3b AUTOMOC
+ SOURCES k3bwelcomewidget.cpp k3bapplication.cpp k3bdiroperator.cpp
+ k3bfiletreeview.cpp k3bprojecttabwidget.cpp k3bsplash.cpp k3bfileview.cpp
+ k3bdirview.cpp k3b.cpp main.cpp k3bstatusbarmanager.cpp
+ k3bfiletreecombobox.cpp k3binterface.cpp k3binterface.skel
+ k3bjobinterface.cpp k3bjobinterface.skel k3bprojectinterface.cpp
+ k3bprojectinterface.skel k3bdataprojectinterface.cpp
+ k3bdataprojectinterface.skel k3bsystemproblemdialog.cpp
+ k3bmediacontentsview.cpp k3bsidepanel.cpp k3bcontentsview.cpp
+ k3bjobprogressdialog.cpp k3bburnprogressdialog.cpp
+ k3btempdirselectionwidget.cpp k3bdatamodewidget.cpp
+ k3bwritingmodewidget.cpp k3bwriterselectionwidget.cpp
+ k3binteractiondialog.cpp k3bthememanager.cpp k3bprojectmanager.cpp
+ k3btrm.cpp k3bmusicbrainz.cpp k3baudioprojectinterface.cpp
+ k3bmixedprojectinterface.cpp k3baudioprojectinterface.skel
+ k3bmixedprojectinterface.skel k3bflatbutton.cpp k3bemptydiscwaiter.cpp
+ k3bjobprogressosd.cpp k3bdebuggingoutputdialog.cpp
+ k3bdebuggingoutputfile.cpp k3bappdevicemanager.cpp k3bmediacache.cpp
+ k3bmedium.cpp k3bmediaselectioncombobox.cpp k3btooltip.cpp
+ k3bwidgetshoweffect.cpp k3bmediaselectiondialog.cpp k3bdiskinfoview.cpp
+ k3bpassivepopup.cpp k3btimeoutwidget.cpp k3bminibutton.cpp
+ k3bthemedheader.cpp k3bthemedlabel.cpp k3blsofwrapper.cpp
+ k3blsofwrapperdialog.cpp k3bservicemenuinstaller.cpp k3bfirstrun.cpp
+ LINK tdeui-shared tdeparts-shared k3bdevice-shared k3b-shared option-static projects-static rip-static
+ misc-static fastscale-static ${MUSICBRAINZ_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES k3b-cue.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden/
+)
+
+install( FILES k3bui.rc eventsrc tips
+ DESTINATION ${DATA_INSTALL_DIR}/k3b
+)
+
+install( FILES k3b.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/src/fastscale/CMakeLists.txt b/src/fastscale/CMakeLists.txt
new file mode 100644
index 0000000..267d764
--- /dev/null
+++ b/src/fastscale/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+enable_language(CXX ASM)
+
+# TODO add assembler flags here (2016-01-14, Fat-Zer)
+
+##### fastscale (static) ########################
+
+tde_add_library( fastscale STATIC_PIC AUTOMOC
+ SOURCES scale.cpp asm_scale.S
+ LINK tdecore-shared
+)
diff --git a/src/icons/CMakeLists.txt b/src/icons/CMakeLists.txt
new file mode 100644
index 0000000..eae47c7
--- /dev/null
+++ b/src/icons/CMakeLists.txt
@@ -0,0 +1,8 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( actions )
+
+##### icons #####################################
+
+tde_install_icons( )
+
diff --git a/src/icons/actions/CMakeLists.txt b/src/icons/actions/CMakeLists.txt
new file mode 100644
index 0000000..d9d479b
--- /dev/null
+++ b/src/icons/actions/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2016 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/k3b/icons )
diff --git a/src/konqi/CMakeLists.txt b/src/konqi/CMakeLists.txt
new file mode 100644
index 0000000..4cce2b2
--- /dev/null
+++ b/src/konqi/CMakeLists.txt
@@ -0,0 +1,13 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES k3b_create_data_cd.desktop k3b_create_data_dvd.desktop
+ k3b_create_audio_cd.desktop k3b_create_video_cd.desktop
+ k3b_write_bin_image.desktop k3b_write_iso_image.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/k3b/servicemenus
+)
+
+install( FILES k3b_audiocd_rip.desktop k3b_videodvd_rip.desktop
+ k3b_cd_copy.desktop k3b_dvd_copy.desktop k3b_handle_empty_dvd.desktop
+ k3b_handle_empty_cd.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+)
diff --git a/src/mimetypes/CMakeLists.txt b/src/mimetypes/CMakeLists.txt
new file mode 100644
index 0000000..dd54994
--- /dev/null
+++ b/src/mimetypes/CMakeLists.txt
@@ -0,0 +1,5 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES x-k3b.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+)
diff --git a/src/misc/CMakeLists.txt b/src/misc/CMakeLists.txt
new file mode 100644
index 0000000..ba329d7
--- /dev/null
+++ b/src/misc/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (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/jobs
+ ${CMAKE_SOURCE_DIR}/libk3b/projects
+ ${CMAKE_SOURCE_DIR}/libk3bdevice
+ ${CMAKE_SOURCE_DIR}/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### misc (static) #############################
+
+tde_add_library( misc STATIC_PIC AUTOMOC
+ SOURCES k3bdvdformattingdialog.cpp k3bcdcopydialog.cpp k3bdvdcopydialog.cpp
+ k3bcdimagewritingdialog.cpp k3bisoimagewritingdialog.cpp
+ k3bblankingdialog.cpp
+)
diff --git a/src/option/CMakeLists.txt b/src/option/CMakeLists.txt
new file mode 100644
index 0000000..e366278
--- /dev/null
+++ b/src/option/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/plugin
+ ${CMAKE_SOURCE_DIR}/libk3bdevice
+ ${CMAKE_SOURCE_DIR}/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### option (static) ###########################
+
+tde_add_library( option STATIC_PIC AUTOMOC
+ SOURCES base_k3bcddboptiontab.ui base_k3bmiscoptiontab.ui
+ base_k3bpluginoptiontab.ui base_k3bthemeoptiontab.ui k3bmiscoptiontab.cpp
+ k3bexternalbinoptiontab.cpp k3bcddboptiontab.cpp k3bburningoptiontab.cpp
+ k3boptiondialog.cpp k3bdeviceoptiontab.cpp k3bnotifyoptiontab.cpp
+ k3bpluginoptiontab.cpp k3bthemeoptiontab.cpp k3bdevicewidget.cpp
+ k3bexternalbinwidget.cpp
+)
diff --git a/src/pics/73lab/CMakeLists.txt b/src/pics/73lab/CMakeLists.txt
new file mode 100644
index 0000000..19ad61d
--- /dev/null
+++ b/src/pics/73lab/CMakeLists.txt
@@ -0,0 +1,9 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES splash.png project_left.png project_right.png probing.png
+ media_audio.png media_data.png media_video.png media_empty.png media_left.png
+ media_mixed.png media_none.png progress_working.png progress_fail.png
+ progress_success.png progress_right.png dialog_left.png dialog_right.png
+ welcome_bg.png k3b.theme
+ DESTINATION ${DATA_INSTALL_DIR}/k3b/pics/73lab
+)
diff --git a/src/pics/CMakeLists.txt b/src/pics/CMakeLists.txt
new file mode 100644
index 0000000..0fa12ec
--- /dev/null
+++ b/src/pics/CMakeLists.txt
@@ -0,0 +1,6 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( 73lab )
+add_subdirectory( crystal )
+add_subdirectory( quant )
+add_subdirectory( RobsTheme )
diff --git a/src/pics/RobsTheme/CMakeLists.txt b/src/pics/RobsTheme/CMakeLists.txt
new file mode 100644
index 0000000..4d44c22
--- /dev/null
+++ b/src/pics/RobsTheme/CMakeLists.txt
@@ -0,0 +1,8 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES splash.png project_left.png project_right.png media_audio.png
+ media_data.png media_video.png media_empty.png media_left.png media_mixed.png
+ media_none.png progress_working.png progress_fail.png progress_success.png
+ progress_right.png dialog_left.png dialog_right.png welcome_bg.png k3b.theme
+ DESTINATION ${DATA_INSTALL_DIR}/k3b/pics/RobsTheme
+)
diff --git a/src/pics/crystal/CMakeLists.txt b/src/pics/crystal/CMakeLists.txt
new file mode 100644
index 0000000..56650dd
--- /dev/null
+++ b/src/pics/crystal/CMakeLists.txt
@@ -0,0 +1,9 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES splash.png project_left.png project_right.png probing.png
+ media_audio.png media_data.png media_video.png media_empty.png media_left.png
+ media_mixed.png media_none.png progress_working.png progress_fail.png
+ progress_success.png progress_right.png dialog_left.png dialog_right.png
+ welcome_bg.png k3b.theme
+ DESTINATION ${DATA_INSTALL_DIR}/k3b/pics/crystal
+)
diff --git a/src/pics/quant/CMakeLists.txt b/src/pics/quant/CMakeLists.txt
new file mode 100644
index 0000000..d332b4a
--- /dev/null
+++ b/src/pics/quant/CMakeLists.txt
@@ -0,0 +1,8 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES splash.png project_left.png project_right.png media_audio.png
+ media_data.png media_video.png media_empty.png media_left.png media_mixed.png
+ media_none.png progress_working.png progress_fail.png progress_success.png
+ progress_right.png dialog_left.png dialog_right.png welcome_bg.png k3b.theme
+ DESTINATION ${DATA_INSTALL_DIR}/k3b/pics/quant
+)
diff --git a/src/projects/CMakeLists.txt b/src/projects/CMakeLists.txt
new file mode 100644
index 0000000..7484d03
--- /dev/null
+++ b/src/projects/CMakeLists.txt
@@ -0,0 +1,72 @@
+#################################################
+#
+# (C) 2016 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( kostore )
+
+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/datacd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/datadvd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/audiocd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/videocd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/mixedcd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/movixcd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/videodvd
+ ${CMAKE_SOURCE_DIR}/libk3b/projects/movixdvd
+ ${CMAKE_SOURCE_DIR}/libk3b/plugin
+ ${CMAKE_SOURCE_DIR}/src
+ ${CMAKE_SOURCE_DIR}/src/rip
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### projects (static) #########################
+
+tde_add_library( projects STATIC_PIC AUTOMOC
+ SOURCES k3baudioburndialog.cpp k3baudiocdtextwidget.cpp
+ k3baudiodatasourceviewitem.cpp k3baudioeditorwidget.cpp
+ k3baudiotrackdialog.cpp k3baudiotrackwidget.cpp k3baudiotrackplayer.cpp
+ k3baudiotracksplitdialog.cpp k3baudiotrackview.cpp
+ k3baudiotrackviewitem.cpp k3baudioview.cpp base_k3baudiocdtextwidget.ui
+ base_k3baudiocdtextallfieldswidget.ui base_k3baudiotrackwidget.ui
+ k3bmixedburndialog.cpp k3bmixeddirtreeview.cpp k3bmixedview.cpp
+ base_k3badvanceddataimagesettings.ui base_k3bbootimageview.ui
+ base_k3bdataimagesettings.ui base_k3bdatavolumedescwidget.ui
+ k3bdataadvancedimagesettingswidget.cpp k3bdatadirtreeview.cpp
+ k3bdatafileview.cpp k3bdataimagesettingswidget.cpp
+ k3bdatapropertiesdialog.cpp k3bdataview.cpp k3bdataviewitem.cpp
+ k3bdatavolumedescwidget.cpp k3bdataburndialog.cpp k3bbootimagedialog.cpp
+ k3bbootimageview.cpp k3bdvdburndialog.cpp k3bdvdview.cpp
+ base_k3bmovixoptionswidget.ui k3bmovixburndialog.cpp k3bmovixlistview.cpp
+ k3bmovixoptionswidget.cpp k3bmovixview.cpp k3bmovixdvdburndialog.cpp
+ k3bmovixdvdview.cpp k3bvideodvdburndialog.cpp k3bvideodvdview.cpp
+ k3bvcdburndialog.cpp k3bvcdlistview.cpp k3bvcdlistviewitem.cpp
+ k3bvcdtrackdialog.cpp k3bvcdview.cpp k3bfillstatusdisplay.cpp k3bview.cpp
+ k3bprojectburndialog.cpp k3bprojectplugindialog.cpp
+ k3baudiotracktrmlookupdialog.cpp k3bdatamultisessioncombobox.cpp
+ k3bmusicbrainzjob.cpp k3bdataurladdingdialog.cpp
+ k3bdatasessionimportdialog.cpp k3baudiodatasourceeditwidget.cpp
+ k3baudiotrackaddingdialog.cpp k3bencodingconverter.cpp
+ LINK kostore-static
+)
diff --git a/src/projects/kostore/CMakeLists.txt b/src/projects/kostore/CMakeLists.txt
new file mode 100644
index 0000000..9ac7377
--- /dev/null
+++ b/src/projects/kostore/CMakeLists.txt
@@ -0,0 +1,20 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kostore (static) ##########################
+
+tde_add_library( kostore STATIC_PIC AUTOMOC
+ SOURCES koStore.cc koZipStore.cc koStoreBase.cc
+)
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}
+)
diff --git a/src/sounds/CMakeLists.txt b/src/sounds/CMakeLists.txt
new file mode 100644
index 0000000..183c843
--- /dev/null
+++ b/src/sounds/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2016 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ k3b_success1.wav k3b_error1.wav k3b_wait_media1.wav
+ DESTINATION ${SOUND_INSTALL_DIR} )