diff options
author | Alexander Golubev <[email protected]> | 2016-02-24 05:42:03 +0300 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-12 17:44:03 +0100 |
commit | 49c75bd470722fedbee23120cf5f4206c744debd (patch) | |
tree | 338d0510532fec3aa9fce31b4139718a97bb096e /libk3b | |
parent | 55ee5f6cfcf18a9a558f338c425c8f7655335a2d (diff) | |
download | k3b-49c75bd470722fedbee23120cf5f4206c744debd.tar.gz k3b-49c75bd470722fedbee23120cf5f4206c744debd.zip |
Initial cmake conversion
(cherry picked from commit 737e53d58ce8cafd6f3835dc93721851476bad1c)
Diffstat (limited to 'libk3b')
24 files changed, 766 insertions, 3 deletions
diff --git a/libk3b/CMakeLists.txt b/libk3b/CMakeLists.txt new file mode 100644 index 0000000..8f51d69 --- /dev/null +++ b/libk3b/CMakeLists.txt @@ -0,0 +1,62 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( core ) +add_subdirectory( plugin ) +add_subdirectory( tools ) +add_subdirectory( projects ) +add_subdirectory( cddb ) +add_subdirectory( jobs ) +# add_subdirectory( scripts ) # the directory sciped in autotools either + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### k3b (shared) ############################## + +if ( WITH_LIBDVDREAD ) + add_subdirectory( videodvd ) + set ( VIDEODVDRIP_LIBRARIES videodvdrip-static) +endif ( ) + +# Note: Due to embending into static libraries doesn't work correctly we have +# to embend all the substuff here. + +# From plugin +if ( NOT WITH_SYSTEM_LIBSAMPLERATE ) + list ( APPEND SUBLIBRARIES samplerate-static ) +endif ( ) + +# From tools +list ( APPEND SUBLIBRARIES isofs-static ) + +# From projects +list ( APPEND SUBLIBRARIES data-static dvd-static mixed-static vcd-static + videodvd-static movix-static movixdvd-static audio-static mpeginfo-static ) + +tde_add_library( k3b SHARED AUTOMOC + SOURCES dummy.cpp + VERSION 3.0.0 + EMBED k3bcore-static cddb-static k3bproject-static k3btools-static + jobs-static k3bplugin-static ${VIDEODVDRIP_LIBRARIES} ${SUBLIBRARIES} + LINK dl tdeio-shared tdeui-shared k3bdevice-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/libk3b/cddb/CMakeLists.txt b/libk3b/cddb/CMakeLists.txt new file mode 100644 index 0000000..9cebff4 --- /dev/null +++ b/libk3b/cddb/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +add_definitions( +) + + +##### cddb (static) ############################# + +tde_add_library( cddb STATIC_PIC AUTOMOC + SOURCES k3bcddbquery.cpp k3bcddb.cpp k3bcddbresult.cpp k3bcddbhttpquery.cpp + k3bcddbpquery.cpp k3bcddblocalquery.cpp k3bcddbsubmit.cpp + k3bcddblocalsubmit.cpp k3bcddbmultientriesdialog.cpp +) diff --git a/libk3b/core/CMakeLists.txt b/libk3b/core/CMakeLists.txt new file mode 100644 index 0000000..95b0531 --- /dev/null +++ b/libk3b/core/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3bdevice + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### k3bcore (static) ########################## + +tde_add_library( k3bcore STATIC_PIC AUTOMOC + SOURCES k3bcore.cpp k3bglobals.cpp k3bdefaultexternalprograms.cpp + k3bexternalbinmanager.cpp k3bversion.cpp k3bprocess.cpp k3bjob.cpp + k3bthread.cpp k3bthreadjob.cpp k3bglobalsettings.cpp + k3bsimplejobhandler.cpp +) diff --git a/libk3b/jobs/CMakeLists.txt b/libk3b/jobs/CMakeLists.txt new file mode 100644 index 0000000..a6b59c4 --- /dev/null +++ b/libk3b/jobs/CMakeLists.txt @@ -0,0 +1,47 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/jobs + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/audiocd + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/cddb + ${CMAKE_SOURCE_DIR}/libk3b/videodvd + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### jobs (static) ############################# + +if ( WITH_LIBDVDREAD ) + set ( VIDEODVDRIP_SOURCES k3bvideodvdtitletranscodingjob.cpp + k3bvideodvdtitledetectclippingjob.cpp ) +endif ( ) + +tde_add_library( jobs STATIC_PIC AUTOMOC + SOURCES k3bdatatrackreader.cpp k3breadcdreader.cpp k3bcdcopyjob.cpp + k3bclonejob.cpp k3baudiosessionreadingjob.cpp k3bdvdcopyjob.cpp + k3baudiocuefilewritingjob.cpp k3bbinimagewritingjob.cpp + k3biso9660imagewritingjob.cpp k3bdvdformattingjob.cpp k3bblankingjob.cpp + k3bclonetocreader.cpp k3bverificationjob.cpp ${VIDEODVDRIP_SOURCES} +) diff --git a/libk3b/plugin/CMakeLists.txt b/libk3b/plugin/CMakeLists.txt new file mode 100644 index 0000000..7aa0ae1 --- /dev/null +++ b/libk3b/plugin/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +if ( WITH_SYSTEM_LIBSAMPLERATE ) + include_directories ( ${LIBSAMPLERATE_INCLUDE_DIRS} ) + link_directories ( ${LIBSAMPLERATE_LIBRARY_DIRS} ) +else ( ) + add_subdirectory( libsamplerate ) + include_directories( libsamplerate ) + set ( LIBSUMPLERATE_LIBRARIES samplerate-static ) +endif ( ) + + +##### k3bplugin (static) ######################## + +list( APPEND k3bplugin_SOURCES k3bplugin.cpp k3bpluginconfigwidget.cpp k3bpluginmanager.cpp + k3baudiodecoder.cpp k3baudioencoder.cpp k3baudioclient.cpp + k3baudioserver.cpp ) +# We have to manually moc the file due to there is no corresponding source +tde_moc( k3bplugin_SOURCES k3bprojectplugin.h ) + +tde_add_library( k3bplugin STATIC_PIC AUTOMOC + SOURCES ${k3bplugin_SOURCES} + LINK ${LIBSAMPLERATE_LIBRARIES} +) diff --git a/libk3b/plugin/k3baudiooutputplugin.h b/libk3b/plugin/k3baudiooutputplugin.h index 09718be..8d958e9 100644 --- a/libk3b/plugin/k3baudiooutputplugin.h +++ b/libk3b/plugin/k3baudiooutputplugin.h @@ -24,8 +24,6 @@ */ class LIBK3B_EXPORT K3bAudioOutputPlugin : public K3bPlugin { - Q_OBJECT - public: virtual ~K3bAudioOutputPlugin() { diff --git a/libk3b/plugin/libsamplerate/CMakeLists.txt b/libk3b/plugin/libsamplerate/CMakeLists.txt new file mode 100644 index 0000000..b12681e --- /dev/null +++ b/libk3b/plugin/libsamplerate/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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} +) + + +##### samplerate (static) ####################### + +tde_add_library( samplerate STATIC_PIC AUTOMOC + SOURCES samplerate.c src_sinc.c src_zoh.c src_linear.c +) diff --git a/libk3b/projects/CMakeLists.txt b/libk3b/projects/CMakeLists.txt new file mode 100644 index 0000000..2c7d28f --- /dev/null +++ b/libk3b/projects/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 +# +################################################# + +add_subdirectory( datacd ) +add_subdirectory( audiocd ) +add_subdirectory( mixedcd ) +add_subdirectory( movixcd ) +add_subdirectory( videocd ) +add_subdirectory( datadvd ) +add_subdirectory( movixdvd ) +add_subdirectory( videodvd ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/datacd + ${CMAKE_CURRENT_SOURCE_DIR}/audiocd + ${CMAKE_CURRENT_SOURCE_DIR}/mixedcd + ${CMAKE_CURRENT_SOURCE_DIR}/movixcd + ${CMAKE_CURRENT_SOURCE_DIR}/videocd + ${CMAKE_CURRENT_SOURCE_DIR}/datadvd + ${CMAKE_CURRENT_SOURCE_DIR}/movixdvd + ${CMAKE_CURRENT_SOURCE_DIR}/videodvd + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### k3bproject (static) ####################### + +tde_add_library( k3bproject STATIC_PIC AUTOMOC + SOURCES k3babstractwriter.cpp k3bgrowisofswriter.cpp k3bgrowisofshandler.cpp + k3bdoc.cpp k3bcdrdaowriter.cpp k3bcdrecordwriter.cpp k3binffilewriter.cpp + k3btocfilewriter.cpp k3bimagefilereader.cpp k3bcuefileparser.cpp + k3bpipebuffer.cpp +) diff --git a/libk3b/projects/audiocd/CMakeLists.txt b/libk3b/projects/audiocd/CMakeLists.txt new file mode 100644 index 0000000..a6f81f1 --- /dev/null +++ b/libk3b/projects/audiocd/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/cddb + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### audio (static) ############################ + +tde_add_library( audio STATIC_PIC AUTOMOC + SOURCES k3baudiojob.cpp k3baudiotrack.cpp k3baudiodoc.cpp k3baudiofile.cpp + k3baudiozerodata.cpp k3baudiodatasource.cpp k3baudionormalizejob.cpp + k3baudiojobtempdata.cpp k3baudioimager.cpp k3baudiomaxspeedjob.cpp + k3baudiocdtracksource.cpp k3baudiocdtrackdrag.cpp + k3baudiodatasourceiterator.cpp +) diff --git a/libk3b/projects/datacd/CMakeLists.txt b/libk3b/projects/datacd/CMakeLists.txt new file mode 100644 index 0000000..c47b129 --- /dev/null +++ b/libk3b/projects/datacd/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/jobs + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### data (static) ############################# + +tde_add_library( data STATIC_PIC AUTOMOC + SOURCES k3bdatajob.cpp k3bdatadoc.cpp k3bdataitem.cpp k3bdiritem.cpp + k3bfileitem.cpp k3bisoimager.cpp k3bmsinfofetcher.cpp k3bbootitem.cpp + k3bisooptions.cpp k3bfilecompilationsizehandler.cpp + k3bsessionimportitem.cpp k3bmkisofshandler.cpp k3bdatapreparationjob.cpp +) diff --git a/libk3b/projects/datadvd/CMakeLists.txt b/libk3b/projects/datadvd/CMakeLists.txt new file mode 100644 index 0000000..6e6f006 --- /dev/null +++ b/libk3b/projects/datadvd/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/projects/datacd + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/jobs + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### dvd (static) ############################## + +tde_add_library( dvd STATIC_PIC AUTOMOC + SOURCES k3bdvddoc.cpp k3bdvdjob.cpp k3bdvdbooktypejob.cpp +) diff --git a/libk3b/projects/mixedcd/CMakeLists.txt b/libk3b/projects/mixedcd/CMakeLists.txt new file mode 100644 index 0000000..d00012c --- /dev/null +++ b/libk3b/projects/mixedcd/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/datacd + ${CMAKE_SOURCE_DIR}/libk3b/projects/audiocd + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### mixed (static) ############################ + +tde_add_library( mixed STATIC_PIC AUTOMOC + SOURCES k3bmixeddoc.cpp k3bmixedjob.cpp +) diff --git a/libk3b/projects/movixcd/CMakeLists.txt b/libk3b/projects/movixcd/CMakeLists.txt new file mode 100644 index 0000000..7d3494f --- /dev/null +++ b/libk3b/projects/movixcd/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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/jobs + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/datacd + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### movix (static) ############################ + +tde_add_library( movix STATIC_PIC AUTOMOC + SOURCES k3bmovixprogram.cpp k3bmovixdoc.cpp k3bmovixjob.cpp + k3bmovixfileitem.cpp k3bmovixdocpreparer.cpp +) diff --git a/libk3b/projects/movixdvd/CMakeLists.txt b/libk3b/projects/movixdvd/CMakeLists.txt new file mode 100644 index 0000000..09d01ee --- /dev/null +++ b/libk3b/projects/movixdvd/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/datacd + ${CMAKE_SOURCE_DIR}/libk3b/projects/datadvd + ${CMAKE_SOURCE_DIR}/libk3b/projects/movixcd + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### movixdvd (static) ######################### + +tde_add_library( movixdvd STATIC_PIC AUTOMOC + SOURCES k3bmovixdvddoc.cpp k3bmovixdvdjob.cpp +) diff --git a/libk3b/projects/videocd/CMakeLists.txt b/libk3b/projects/videocd/CMakeLists.txt new file mode 100644 index 0000000..8a3e2ad --- /dev/null +++ b/libk3b/projects/videocd/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( cdi ) +add_subdirectory( extra ) +add_subdirectory( mpeginfo ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### vcd (static) ############################## + +tde_add_library( vcd STATIC_PIC AUTOMOC + SOURCES k3bvcddoc.cpp k3bvcdtrack.cpp k3bvcdjob.cpp k3bvcdoptions.cpp + k3bvcdxmlview.cpp +) diff --git a/libk3b/projects/videocd/cdi/CMakeLists.txt b/libk3b/projects/videocd/cdi/CMakeLists.txt new file mode 100644 index 0000000..89fec78 --- /dev/null +++ b/libk3b/projects/videocd/cdi/CMakeLists.txt @@ -0,0 +1,6 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES cdi_imag.rtf cdi_text.fnt cdi_vcd.app cdi_vcd.cfg + vcd_on_cdi_41.pdf icdia.htm + DESTINATION ${DATA_INSTALL_DIR}/k3b/cdi +) diff --git a/libk3b/projects/videocd/extra/CMakeLists.txt b/libk3b/projects/videocd/extra/CMakeLists.txt new file mode 100644 index 0000000..0c10274 --- /dev/null +++ b/libk3b/projects/videocd/extra/CMakeLists.txt @@ -0,0 +1,5 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES k3bphotovcd.mpg k3bphotosvcd.mpg + DESTINATION ${DATA_INSTALL_DIR}/k3b/extra +) diff --git a/libk3b/projects/videocd/mpeginfo/CMakeLists.txt b/libk3b/projects/videocd/mpeginfo/CMakeLists.txt new file mode 100644 index 0000000..92e371d --- /dev/null +++ b/libk3b/projects/videocd/mpeginfo/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} +) + + +##### mpeginfo (static) ######################### + +tde_add_library( mpeginfo STATIC_PIC AUTOMOC + SOURCES k3bmpeginfo.cpp +) diff --git a/libk3b/projects/videodvd/CMakeLists.txt b/libk3b/projects/videodvd/CMakeLists.txt new file mode 100644 index 0000000..3c91d0b --- /dev/null +++ b/libk3b/projects/videodvd/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/datacd + ${CMAKE_SOURCE_DIR}/libk3b/projects/datadvd + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### videodvd (static) ######################### + +tde_add_library( videodvd STATIC_PIC AUTOMOC + SOURCES k3bvideodvddoc.cpp k3bvideodvdjob.cpp k3bvideodvdimager.cpp + k3bvideodvddoc.h k3bvideodvdjob.h +) diff --git a/libk3b/projects/videodvd/k3bvideodvddoc.cpp b/libk3b/projects/videodvd/k3bvideodvddoc.cpp index 49f2479..a08b2ff 100644 --- a/libk3b/projects/videodvd/k3bvideodvddoc.cpp +++ b/libk3b/projects/videodvd/k3bvideodvddoc.cpp @@ -68,4 +68,3 @@ K3bBurnJob* K3bVideoDvdDoc::newBurnJob( K3bJobHandler* hdl, TQObject* parent ) return new K3bVideoDvdJob( this, hdl, parent ); } -//#include "k3bdvddoc.moc" diff --git a/libk3b/scripts/CMakeLists.txt b/libk3b/scripts/CMakeLists.txt new file mode 100644 index 0000000..ca6f367 --- /dev/null +++ b/libk3b/scripts/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( PROGRAMS k3b_automount + DESTINATION ${BIN_INSTALL_DIR} + PERMISSIONS 4755 +) diff --git a/libk3b/tools/CMakeLists.txt b/libk3b/tools/CMakeLists.txt new file mode 100644 index 0000000..cd24070 --- /dev/null +++ b/libk3b/tools/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( libisofs ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b + ${CMAKE_SOURCE_DIR}/libk3bdevice + # ${CMAKE_SOURCE_DIR}/src + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### k3btools (static) ######################### + +tde_add_library( k3btools STATIC_PIC AUTOMOC + SOURCES k3bwavefilewriter.cpp k3bbusywidget.cpp k3bdeviceselectiondialog.cpp + k3bmd5job.cpp k3btitlelabel.cpp k3bcutcombobox.cpp k3bstringutils.cpp + k3bdevicecombobox.cpp kcutlabel.cpp k3bstdguiitems.cpp k3bvalidators.cpp + k3bthroughputestimator.cpp k3biso9660.cpp k3bmultichoicedialog.cpp + k3bdevicehandler.cpp k3bcdparanoialib.cpp k3blistview.cpp k3bmsfedit.cpp + k3bcdtextvalidator.cpp k3bintvalidator.cpp k3bexceptions.cpp + k3bprogressdialog.cpp k3btoolbox.cpp k3bpushbutton.cpp + k3blistviewitemanimator.cpp k3bthreadwidget.cpp k3bradioaction.cpp + k3bsignalwaiter.cpp k3blibdvdcss.cpp k3biso9660backend.cpp k3bpipe.cpp + k3bchecksumpipe.cpp k3btoolbutton.cpp k3bintmapcombobox.cpp + k3bdirsizejob.cpp k3brichtextlabel.cpp k3btempfile.cpp k3bactivepipe.cpp + k3bfilesplitter.cpp k3bfilesysteminfo.cpp +) diff --git a/libk3b/tools/libisofs/CMakeLists.txt b/libk3b/tools/libisofs/CMakeLists.txt new file mode 100644 index 0000000..f278a4b --- /dev/null +++ b/libk3b/tools/libisofs/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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} +) + + +##### isofs (static) ############################ + +tde_add_library( isofs STATIC_PIC AUTOMOC + SOURCES isofs.cpp +) diff --git a/libk3b/videodvd/CMakeLists.txt b/libk3b/videodvd/CMakeLists.txt new file mode 100644 index 0000000..2ace0b3 --- /dev/null +++ b/libk3b/videodvd/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (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_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${LIBDVDREAD_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### videodvd (static) ######################### + +tde_add_library( videodvdrip STATIC_PIC AUTOMOC + SOURCES k3bvideodvd.cpp k3bvideodvdtime.cpp k3bvideodvdvideostream.cpp + LINK ${LIBDVDREAD_LIBRARIES} +) |