summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-09-21 17:53:14 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-23 02:56:07 +0200
commitfb7dbcad487de0362c8bf68ac458189325457b47 (patch)
tree805fa61af28c6acf0328a93e377b24503f202269 /src
parent5726913a87e97666fdc9d15b37cbcf55aec7d65c (diff)
downloadkcmautostart-fb7dbcad487de0362c8bf68ac458189325457b47.tar.gz
kcmautostart-fb7dbcad487de0362c8bf68ac458189325457b47.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 326ad00672711ac256642b2070b5e64583163556)
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"