summaryrefslogtreecommitdiffstats
path: root/src/gvcore/CMakeLists.txt
blob: b8362ad1218d526a3d0574063a12b2491b7f6a5b (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)


##### gwenviewcore (shared)

set( gwenviewcore_SRCS
  pngformattype.cpp
  printdialog.cpp
  printdialogpagebase.ui
  thumbnailloadjob.cpp
  imageview.cpp
  imageviewcontroller.cpp
  document.cpp
  externaltoolmanager.cpp
  externaltoolcontext.cpp
  externaltoolaction.cpp
  externaltooldialogbase.ui
  externaltooldialog.cpp
  fileviewcontroller.cpp
  filethumbnailview.cpp
  fileoperation.cpp
  fileopobject.cpp
  filethumbnailviewitem.cpp
  filterbar.ui
  qxcfi.cpp
  archive.cpp
  slideshow.cpp
  filedetailview.cpp
  filedetailviewitem.cpp
  imagesavedialog.cpp
  jpegformattype.cpp
  mngformattype.cpp
  xpm.cpp
  documentimpl.cpp
  documentloadingimpl.cpp
  documentloadedimpl.cpp
  documentjpegloadedimpl.cpp
  documentanimatedloadedimpl.cpp
  documentotherloadedimpl.cpp
  busylevelmanager.cpp
  cache.cpp
  threadgate.cpp
  imageviewtools.cpp
  fullscreenbar.cpp
  imageloader.cpp
  cursortracker.cpp
  captionformatter.cpp
  thumbnaildetailsdialogbase.ui
  thumbnaildetailsdialog.cpp
  xcursor.cpp
  mimetypeutils.cpp
  bcgdialog.cpp
  bcgdialogbase.ui
  timeutils.cpp
  clicklineedit.cpp
  inputdialog.cpp
  deletedialog.cpp
  deletedialogbase.ui
  miscconfig.kcfgc
  slideshowconfig.kcfgc
  fileoperationconfig.kcfgc
  fullscreenconfig.kcfgc
  imageviewconfig.kcfgc
  fileviewconfig.kcfgc
)

tde_add_library( gwenviewcore SHARED AUTOMOC
  SOURCES ${gwenviewcore_SRCS}
  LINK
    tsthread-static gvimageutils-static
    tdecore-shared tdeio-shared tdemediaplayer-shared
    tdeparts-shared tdeprint-shared tdeui-shared
    ${EXIV2_LIBRARIES} ${JPEG_LIBRARIES} ${MNG_LIBRARY}
    ${PNG_LIBRARIES} ${XCURSOR_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
  VERSION 1.0.0
  DESTINATION ${LIB_INSTALL_DIR}
)


##### other files

install(
  FILES
    miscconfig.kcfg slideshowconfig.kcfg fileoperationconfig.kcfg
    fullscreenconfig.kcfg imageviewconfig.kcfg fileviewconfig.kcfg
  DESTINATION ${KCFG_INSTALL_DIR}
)