summaryrefslogtreecommitdiffstats
path: root/src/utilities/imageeditor/editor/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-01 10:36:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-26 10:37:38 +0900
commit76a8e935be38afad0105c46d5a2aa7b58162223b (patch)
treeec4150730a6bb1900c9d4541fd9faf0c4d41b00a /src/utilities/imageeditor/editor/CMakeLists.txt
parent67fd8bef19878c6940d48fbdafe07a8842c99fd1 (diff)
downloaddigikam-76a8e935be38afad0105c46d5a2aa7b58162223b.tar.gz
digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.zip
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/utilities/imageeditor/editor/CMakeLists.txt')
-rw-r--r--src/utilities/imageeditor/editor/CMakeLists.txt57
1 files changed, 57 insertions, 0 deletions
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}
+)