summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-09-21 17:53:14 +0200
committergregory guy <g-gregory@gmx.fr>2018-09-21 17:53:14 +0200
commit326ad00672711ac256642b2070b5e64583163556 (patch)
tree48daf65be8493fc6046cc68ab89ffe3fdf031fda /src
parent3b7350f73445cfdb03e9e0b3c4a70479403154e0 (diff)
downloadkcmautostart-326ad00672711ac256642b2070b5e64583163556.tar.gz
kcmautostart-326ad00672711ac256642b2070b5e64583163556.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt29
-rw-r--r--src/autostart.cpp2
2 files changed, 31 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..ef9d1d7
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,29 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kcm_autostart (kpart)
+
+tde_add_kpart( kcm_autostart AUTOMOC
+ SOURCES autostart.cpp
+ LINK tdeio-shared tdeui-shared tdecore-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES autostart.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/src/autostart.cpp b/src/autostart.cpp
index 14387ab..446c17d 100644
--- a/src/autostart.cpp
+++ b/src/autostart.cpp
@@ -347,3 +347,5 @@ TQString CAutostart::quickHelp() const
{
return i18n("This module helps configure which applications TDE runs when starting and exiting.");
}
+
+#include "autostart.moc"