summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/coreplugin/CMakeLists.txt
blob: 85110f77e920cd30403dc5e46361f97897bbd0a6 (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
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/hsl
  ${CMAKE_CURRENT_SOURCE_DIR}/ratiocrop
  ${CMAKE_CURRENT_SOURCE_DIR}/sharpnesseditor
  ${CMAKE_CURRENT_BINARY_DIR}
)


##### subfolders

add_subdirectory( hsl )
add_subdirectory( ratiocrop )
add_subdirectory( sharpnesseditor )


##### digikamimageplugin_core (kpart)

tde_add_kpart( digikamimageplugin_core AUTOMOC
  SOURCES
    imageplugin_core.cpp bwsepiatool.cpp autocorrectiontool.cpp rgbtool.cpp redeyetool.cpp
    blurtool.cpp iccprooftool.cpp bcgtool.cpp
  LINK
    sharpnesseditor-static hsl-static ratiocrop-static dimg-static dimgeditor-static
    curves-static commonwidgets-static imagepluginswidgets-static digikam-shared
    tdecore-shared tdeutils-shared ${KEXIV2_LIBRARIES}
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### other files

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

tde_create_translated_desktop(
  SOURCE digikamimageplugin_core.desktop
  DESTINATION ${SERVICES_INSTALL_DIR}
)