summaryrefslogtreecommitdiffstats
path: root/src/utilities/imageeditor/editor/CMakeLists.txt
blob: 7c85f0356ad59ba10d2ba010a260644b535dc8dd (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
include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/src/libs/dialogs
  ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters
  ${CMAKE_SOURCE_DIR}/src/libs/imageproperties
  ${CMAKE_SOURCE_DIR}/src/libs/themeengine
  ${CMAKE_SOURCE_DIR}/src/libs/threadimageio
  ${CMAKE_SOURCE_DIR}/src/libs/widgets/common
  ${CMAKE_SOURCE_DIR}/src/libs/widgets/imageplugins
  ${CMAKE_SOURCE_DIR}/src/utilities/setup
  ${CMAKE_SOURCE_DIR}/src/utilities/slideshow
  ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas
  ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/tools
  ${CMAKE_BINARY_DIR}/src/libs/dialogs
)


##### dimgeditor library (static)

tde_add_library( dimgeditor STATIC_PIC AUTOMOC
  SOURCES
    editorwindow.cpp imageiface.cpp imagewindow.cpp editorstackview.cpp
    editortooliface.cpp editortool.cpp editortoolsettings.cpp
  LINK
    dialog-static dimgcanvas-static dimgeditortools-static imagepluginswidgets-static rawimport-static
)


##### other files

install(
  FILES imageiface.h
  DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
)

install(
  FILES digikamimagewindowui.rc
  DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)

tde_create_translated_desktop(
  SOURCE digikamimageplugin.desktop
  DESTINATION ${SERVICETYPES_INSTALL_DIR}
)