summaryrefslogtreecommitdiffstats
path: root/src/gvdirpart/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-05 19:43:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-08 10:42:37 +0900
commit41f6d5afec703320378e38c0bcefb064d42337e4 (patch)
treebb46f79e50b5e15efc32f3456052c9b2873531bf /src/gvdirpart/CMakeLists.txt
parentb24092d4d2cdfef0145f580a6d66be9b0e06db4c (diff)
downloadgwenview-41f6d5afec703320378e38c0bcefb064d42337e4.tar.gz
gwenview-41f6d5afec703320378e38c0bcefb064d42337e4.zip
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bc9bda10c93ebfb9862270576b445d1c2798d66d)
Diffstat (limited to 'src/gvdirpart/CMakeLists.txt')
-rw-r--r--src/gvdirpart/CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gvdirpart/CMakeLists.txt b/src/gvdirpart/CMakeLists.txt
new file mode 100644
index 0000000..9837c29
--- /dev/null
+++ b/src/gvdirpart/CMakeLists.txt
@@ -0,0 +1,31 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### gvdirpart (shared)
+
+tde_add_kpart( libgvdirpart AUTOMOC
+ SOURCES gvdirpart.cpp gvdirpartconfig.kcfgc
+ LINK tdeparts-shared gwenviewcore-shared
+ DESTINATION ${LIB_INSTALL_DIR}/trinity
+)
+
+
+##### other files
+
+tde_create_translated_desktop(
+ SOURCE gvdirpart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES gvdirpart.rc
+ DESTINATION ${DATA_INSTALL_DIR}/gvdirpart
+)
+
+install(
+ FILES gvdirpartconfig.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)