summaryrefslogtreecommitdiffstats
path: root/libk3b/projects/CMakeLists.txt
blob: b0a60e49fc1c935cce71f9648611e605bad2d564 (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
#################################################
#
#  (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
)


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

install( FILES k3bdoc.h k3bgrowisofswriter.h k3bcdrdaowriter.h
    k3bcdrecordwriter.h k3binffilewriter.h k3btocfilewriter.h
    k3bcuefileparser.h k3bimagefilereader.h
  DESTINATION ${INCLUDE_INSTALL_DIR}
)