summaryrefslogtreecommitdiffstats
path: root/sessionapplet/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-07-16 14:07:49 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-26 11:33:19 +0200
commitcd1471858e29d0d23355a93178e063fd0550d31c (patch)
tree6a4d62d831ce3a5a9b7cabac8cf578f622fd5b43 /sessionapplet/CMakeLists.txt
parent443bb972fa23026cdd48cfd5976b210c5dd470eb (diff)
downloadtde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.tar.gz
tde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.zip
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system. Signed-off-by: gregory guy <gregory-tde@laposte.net> Resolve issues that occurred during CMake conversion. Concatenate the commands for generating pixmaps.h with CMake so that there is no need to use the GNU specific sed option -i. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc)
Diffstat (limited to 'sessionapplet/CMakeLists.txt')
-rw-r--r--sessionapplet/CMakeLists.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/sessionapplet/CMakeLists.txt b/sessionapplet/CMakeLists.txt
new file mode 100644
index 0000000..51b880e
--- /dev/null
+++ b/sessionapplet/CMakeLists.txt
@@ -0,0 +1,36 @@
+
+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_LIBRARY_DIRS}
+)
+
+
+##### usermanager_panelapplet (shared)
+
+tde_add_library( usermanager_panelapplet MODULE AUTOMOC
+
+ SOURCES
+ usermanager.cpp
+ dmctl.cpp
+ LINK
+ tdeui-shared
+ tdecore-shared
+
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE usermanager.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+)