summaryrefslogtreecommitdiffstats
path: root/src/app/CMakeLists.txt
blob: 4fc06d9d418012f2e63984da26254129c5c9899a (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
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)


##### libgwenshared (static)

tde_add_library( gwenshared STATIC_PIC AUTOMOC
  SOURCES vtabwidget.cpp
)


##### gwenview (shared)

set( gwenview_SRCS
  bookmarkowner.cpp
  bookmarkviewcontroller.cpp
  bookmarkdialogbase.ui
  bookmarkdialog.cpp
  configfileoperationspage.ui
  configfullscreenpage.ui
  configimagelistpage.ui
  configimageviewpage.ui
  configmiscpage.ui
  configslideshowpage.ui
  kipiinterface.cpp
  mainwindow.cpp
  metaedit.cpp
  treeview.cpp
  dirviewcontroller.cpp
  configdialog.cpp
  history.cpp
  main.cpp
)

tde_add_tdeinit_executable( gwenview AUTOMOC
  SOURCES ${gwenview_SRCS}
  LINK
    gwenshared-static gwenviewcore-shared
    tdeutils-shared ${LIBKIPI_LIBRARIES}
  DESTINATION ${LIB_INSTALL_DIR}/trinity
)


##### other files

install(
  FILES gwenviewui.rc
  DESTINATION ${DATA_INSTALL_DIR}/gwenview
)

install(
  FILES gwenview.xpm
  DESTINATION ${SHARE_INSTALL_PREFIX}/pixmaps
)