summaryrefslogtreecommitdiffstats
path: root/src/tdeioslave/CMakeLists.txt
blob: bedd447d864631b0e9e9d6fc10ed23406f62b608 (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
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/src/libs/jpegutils
  ${SQLITE3_INCLUDE_DIRS}
)


##### tdeio modules (kparts)

tde_add_kpart( tdeio_digikamthumbnail AUTOMOC
  SOURCES digikamthumbnail.cpp
  LINK dimg-static jpegutils-static tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
  DESTINATION ${PLUGIN_INSTALL_DIR}
)

tde_add_kpart( tdeio_digikamtags AUTOMOC
  SOURCES digikamtags.cpp sqlitedb.cpp
  LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
  DESTINATION ${PLUGIN_INSTALL_DIR}
)

tde_add_kpart( tdeio_digikamalbums AUTOMOC
  SOURCES digikamalbums.cpp sqlitedb.cpp
  LINK
    dmetadata-static tdecore-shared tdeio-shared
    ${SQLITE3_LIBRARIES} ${KDCRAW_LIBRARIES} ${KEXIV2_LIBRARIES}
  DESTINATION ${PLUGIN_INSTALL_DIR}
)

tde_add_kpart( tdeio_digikamdates AUTOMOC
  SOURCES digikamdates.cpp sqlitedb.cpp
  LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
  DESTINATION ${PLUGIN_INSTALL_DIR}
)

tde_add_kpart( tdeio_digikamsearch AUTOMOC
  SOURCES digikamsearch.cpp sqlitedb.cpp
  LINK tdecore-shared tdeio-shared ${SQLITE3_LIBRARIES}
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### other files

tde_create_translated_desktop(
  SOURCE
    digikamthumbnail.protocol digikamtags.protocol digikamalbums.protocol
    digikamdates.protocol digikamsearch.protocol
  DESTINATION ${SERVICES_INSTALL_DIR}
)