summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/border/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/imageplugins/border/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/imageplugins/border/CMakeLists.txt')
-rw-r--r--src/imageplugins/border/CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/imageplugins/border/CMakeLists.txt b/src/imageplugins/border/CMakeLists.txt
new file mode 100644
index 00000000..e9230ca0
--- /dev/null
+++ b/src/imageplugins/border/CMakeLists.txt
@@ -0,0 +1,31 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( patterns )
+
+
+##### digikamimageplugin_border (kpart)
+
+tde_add_kpart( digikamimageplugin_border AUTOMOC
+ SOURCES imageplugin_border.cpp bordertool.cpp border.cpp
+ LINK dimg-static digikam-shared tdecore-shared tdeutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other files
+
+install(
+ FILES digikamimageplugin_border_ui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
+)
+
+tde_create_translated_desktop(
+ SOURCE digikamimageplugin_border.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)