summaryrefslogtreecommitdiffstats
path: root/src/utilities/imageeditor/editor/CMakeLists.txt
blob: e327bdd0c392c3da5e4f3bda8fa5f296d415621f (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
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
)

##### showfoto library (static)

tde_add_library( showfoto STATIC_PIC AUTOMOC
  SOURCES
    editorwindow.cpp imageiface.cpp editorstackview.cpp
    editortooliface.cpp editortool.cpp editortoolsettings.cpp
  LINK
    dimg-static dialogshowfoto-static greycstoration-static dimgcanvas-static
    dimgeditortools-static rawimport-static metadatawidgets-static
    iccprofileswidgets-static imagepluginswidgets-static commonwidgets-static
    tdeprint-shared
)


##### 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}
)