summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2018-09-21 17:53:14 +0200
committerSlávek Banko <[email protected]>2018-09-23 02:56:07 +0200
commitfb7dbcad487de0362c8bf68ac458189325457b47 (patch)
tree805fa61af28c6acf0328a93e377b24503f202269 /src/CMakeLists.txt
parent5726913a87e97666fdc9d15b37cbcf55aec7d65c (diff)
downloadkcmautostart-fb7dbcad487de0362c8bf68ac458189325457b47.tar.gz
kcmautostart-fb7dbcad487de0362c8bf68ac458189325457b47.zip
conversion to the cmake building system
Signed-off-by: gregory guy <[email protected]> (cherry picked from commit 326ad00672711ac256642b2070b5e64583163556)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt29
1 files changed, 29 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}
+)