diff options
Diffstat (limited to 'src/utilities/imageeditor')
-rw-r--r-- | src/utilities/imageeditor/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/utilities/imageeditor/canvas/CMakeLists.txt | 28 | ||||
-rw-r--r-- | src/utilities/imageeditor/editor/CMakeLists.txt | 57 | ||||
-rw-r--r-- | src/utilities/imageeditor/rawimport/CMakeLists.txt | 22 | ||||
-rw-r--r-- | src/utilities/imageeditor/tools/CMakeLists.txt | 16 |
5 files changed, 129 insertions, 0 deletions
diff --git a/src/utilities/imageeditor/CMakeLists.txt b/src/utilities/imageeditor/CMakeLists.txt new file mode 100644 index 00000000..4e9ce263 --- /dev/null +++ b/src/utilities/imageeditor/CMakeLists.txt @@ -0,0 +1,6 @@ +##### subfolders + +add_subdirectory( canvas ) +add_subdirectory( tools ) +add_subdirectory( rawimport ) +add_subdirectory( editor ) diff --git a/src/utilities/imageeditor/canvas/CMakeLists.txt b/src/utilities/imageeditor/canvas/CMakeLists.txt new file mode 100644 index 00000000..b5ab4cc3 --- /dev/null +++ b/src/utilities/imageeditor/canvas/CMakeLists.txt @@ -0,0 +1,28 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${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/splashscreen + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/rawimport +) + + +##### dimgcanvas library (static) + +tde_add_library( dimgcanvas STATIC_PIC AUTOMOC + SOURCES + dimginterface.cpp colorcorrectiondlg.cpp canvas.cpp undocache.cpp undoaction.cpp + undomanager.cpp imagepluginloader.cpp imageplugin.cpp +) + + +##### other files + +install( + FILES imageplugin.h + DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME} +) diff --git a/src/utilities/imageeditor/editor/CMakeLists.txt b/src/utilities/imageeditor/editor/CMakeLists.txt new file mode 100644 index 00000000..e327bdd0 --- /dev/null +++ b/src/utilities/imageeditor/editor/CMakeLists.txt @@ -0,0 +1,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} +) diff --git a/src/utilities/imageeditor/rawimport/CMakeLists.txt b/src/utilities/imageeditor/rawimport/CMakeLists.txt new file mode 100644 index 00000000..c7335d88 --- /dev/null +++ b/src/utilities/imageeditor/rawimport/CMakeLists.txt @@ -0,0 +1,22 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/curves + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${CMAKE_SOURCE_DIR}/src/libs/levels + ${CMAKE_SOURCE_DIR}/src/libs/themeengine + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio + ${CMAKE_SOURCE_DIR}/src/libs/whitebalance + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/libs/widgets/iccprofiles + ${CMAKE_SOURCE_DIR}/src/utilities/splashscreen + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor +) + + +##### rawimport library (static) + +tde_add_library( rawimport STATIC_PIC AUTOMOC + SOURCES rawpreview.cpp rawsettingsbox.cpp rawimport.cpp rawpostprocessing.cpp + LINK commonwidgets-static iccprofileswidgets-static +) diff --git a/src/utilities/imageeditor/tools/CMakeLists.txt b/src/utilities/imageeditor/tools/CMakeLists.txt new file mode 100644 index 00000000..45b8f6cb --- /dev/null +++ b/src/utilities/imageeditor/tools/CMakeLists.txt @@ -0,0 +1,16 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${CMAKE_SOURCE_DIR}/src/libs/greycstoration + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor +) + + +##### dimgeditortools library (static) + +tde_add_library( dimgeditortools STATIC_PIC AUTOMOC + SOURCES imageresize.cpp imageprint.cpp + LINK greycstoration-static +) |