summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 21:51:51 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 21:51:51 +0000
commit2baeea36772bd5221b90552b9e498acff5391f4a (patch)
tree89942602c4469cdfe062490dce483eee36bd9476 /filesharing/advanced/kcm_sambaconf
parent62bceb28d5b0f76ddfd877d61b90a9b2ba425333 (diff)
downloadtdenetwork-2baeea36772bd5221b90552b9e498acff5391f4a.tar.gz
tdenetwork-2baeea36772bd5221b90552b9e498acff5391f4a.zip
[kdenetwork/filesharing] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237323 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf')
-rw-r--r--filesharing/advanced/kcm_sambaconf/CMakeLists.txt51
1 files changed, 51 insertions, 0 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/CMakeLists.txt b/filesharing/advanced/kcm_sambaconf/CMakeLists.txt
new file mode 100644
index 00000000..9ed92497
--- /dev/null
+++ b/filesharing/advanced/kcm_sambaconf/CMakeLists.txt
@@ -0,0 +1,51 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES kcmsambaconf.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### filesharesamba (static) ###################
+
+tde_add_library( filesharesamba STATIC_PIC AUTOMOC
+ SOURCES
+ sambafile.cpp share.ui sharedlgimpl.cpp sambashare.cpp
+ socketoptionsdlg.ui common.cpp userselectdlg.ui
+ groupselectdlg.ui usertab.ui usertabimpl.cpp filemodedlg.ui
+ filemodedlgimpl.cpp smbpasswdfile.cpp passwd.cpp hiddenfileview.cpp
+ dictmanager.cpp qmultichecklistitem.cpp smbconfconfigwidget.cpp
+ linuxpermissionchecker.cpp expertuserdlg.ui
+)
+
+
+##### kcm_kcmsambaconf (module) #################
+
+tde_add_kpart( kcm_kcmsambaconf AUTOMOC
+ SOURCES
+ kcminterface.ui kcmprinterdlg.ui printerdlgimpl.cpp kcmsambaconf.cpp
+ joindomaindlg.ui
+ LINK filesharesamba-static kdeprint-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)