summaryrefslogtreecommitdiffstats
path: root/src/gvdirpart
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-05 19:43:11 +0900
committerMichele Calgaro <[email protected]>2024-03-08 10:39:04 +0900
commitbc9bda10c93ebfb9862270576b445d1c2798d66d (patch)
treeb55e4d3b49d75130f681bcb2f680858d5395f1b2 /src/gvdirpart
parenta8bf4dbf8aa3c20f60454a296278f8d00c83617a (diff)
downloadgwenview-bc9bda10c93ebfb9862270576b445d1c2798d66d.tar.gz
gwenview-bc9bda10c93ebfb9862270576b445d1c2798d66d.zip
Conversion to cmake building system
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gvdirpart')
-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}
+)