3
FIND_PACKAGE(KDE4 REQUIRED)
5
ADD_DEFINITIONS(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
10
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common
11
${CMAKE_CURRENT_SOURCE_DIR}/plugin
12
${CMAKE_CURRENT_SOURCE_DIR}/tools
18
SET(kipiplugin_batchprocessimages_PART_SRCS
19
plugin/plugin_batchprocessimages.cpp
20
common/batchprocessimagesdialog.cpp
21
common/batchprocessimagesitem.cpp
22
common/batchprocessimageslist.cpp
23
common/imagepreview.cpp
24
common/dialogutils.cpp
26
tools/borderimagesdialog.cpp
27
tools/borderoptionsdialog.cpp
28
tools/colorimagesdialog.cpp
29
tools/coloroptionsdialog.cpp
30
tools/convertimagesdialog.cpp
31
tools/convertoptionsdialog.cpp
32
tools/effectimagesdialog.cpp
33
tools/effectoptionsdialog.cpp
34
tools/filterimagesdialog.cpp
35
tools/filteroptionsdialog.cpp
36
tools/recompressimagesdialog.cpp
37
tools/recompressoptionsdialog.cpp
38
tools/renameimagesdialog.cpp
39
tools/renameimageswidget.cpp
40
tools/resizecommandbuilder.cpp
41
tools/resizeimagesdialog.cpp
42
tools/resizeoptionsdialog.cpp
45
KDE4_ADD_UI_FILES(kipiplugin_batchprocessimages_PART_SRCS
46
ui/batchprocessimagesdialog.ui
48
ui/renameimagesbase.ui
51
KDE4_ADD_PLUGIN(kipiplugin_batchprocessimages ${kipiplugin_batchprocessimages_PART_SRCS})
53
TARGET_LINK_LIBRARIES(
54
kipiplugin_batchprocessimages
63
INSTALL(TARGETS kipiplugin_batchprocessimages DESTINATION ${PLUGIN_INSTALL_DIR})
65
INSTALL(FILES plugin/kipiplugin_batchprocessimages.desktop DESTINATION ${SERVICES_INSTALL_DIR})