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


##### subfolders

add_subdirectory( setup )


##### showfoto (executable)

tde_add_executable( showfoto AUTOMOC
  SOURCES main.cpp showfoto.cpp
  LINK
    imagepropertiesshowfoto-static jpegutils-static showfoto-static showfotosetupinternal-static
    slideshow-static themeengine-static threadimageio-static thumbbar-static
    tdeparts-shared tdeutils-shared ${CMAKE_THREAD_LIBS_INIT} ${KDCRAW_LIBRARIES} ${KEXIV2_LIBRARIES}
  DESTINATION ${BIN_INSTALL_DIR}
)


##### other files

install(
  FILES showfotoui.rc
  DESTINATION ${DATA_INSTALL_DIR}/showfoto
)

tde_create_translated_desktop(
  SOURCE showfoto.desktop
  DESTINATION ${XDG_APPS_INSTALL_DIR}
)