summaryrefslogtreecommitdiffstats
path: root/libk3b/jobs/CMakeLists.txt
blob: 9e444d90547e70fb2b648a6e8fe542f6dac628f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#################################################
#
#  (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}
)


##### Headers ###################################

install( FILES k3bcdcopyjob.h k3bdvdcopyjob.h k3bclonejob.h
	k3baudiocuefilewritingjob.h k3bbinimagewritingjob.h
	k3biso9660imagewritingjob.h k3bdvdformattingjob.h
	k3bblankingjob.h k3bverificationjob.h
  DESTINATION ${INCLUDE_INSTALL_DIR}
)

if ( WITH_LIBDVDREAD )
  install( FILES k3bvideodvdtitletranscodingjob.h k3bvideodvdtitledetectclippingjob.h
    DESTINATION ${INCLUDE_INSTALL_DIR}
  )
endif ( WITH_LIBDVDREAD )