summaryrefslogtreecommitdiffstats
path: root/filesharing
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
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')
-rw-r--r--filesharing/CMakeLists.txt13
-rw-r--r--filesharing/advanced/CMakeLists.txt14
-rw-r--r--filesharing/advanced/kcm_sambaconf/CMakeLists.txt51
-rw-r--r--filesharing/advanced/nfs/CMakeLists.txt25
-rw-r--r--filesharing/advanced/propsdlgplugin/CMakeLists.txt46
-rw-r--r--filesharing/simple/CMakeLists.txt41
6 files changed, 190 insertions, 0 deletions
diff --git a/filesharing/CMakeLists.txt b/filesharing/CMakeLists.txt
new file mode 100644
index 00000000..097f74ae
--- /dev/null
+++ b/filesharing/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( advanced )
+add_subdirectory( simple )
diff --git a/filesharing/advanced/CMakeLists.txt b/filesharing/advanced/CMakeLists.txt
new file mode 100644
index 00000000..d4c7d970
--- /dev/null
+++ b/filesharing/advanced/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( nfs )
+add_subdirectory( kcm_sambaconf )
+add_subdirectory( propsdlgplugin )
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}
+)
diff --git a/filesharing/advanced/nfs/CMakeLists.txt b/filesharing/advanced/nfs/CMakeLists.txt
new file mode 100644
index 00000000..9aee09a9
--- /dev/null
+++ b/filesharing/advanced/nfs/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### filesharenfs (static) #####################
+
+tde_add_library( filesharenfs STATIC_PIC AUTOMOC
+ SOURCES
+ nfsdialog.cpp nfshostdlg.cpp hostprops.ui nfsdialoggui.ui nfsfile.cpp
+ nfsentry.cpp
+)
diff --git a/filesharing/advanced/propsdlgplugin/CMakeLists.txt b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
new file mode 100644
index 00000000..f6477d19
--- /dev/null
+++ b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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_BINARY_DIR}/../kcm_sambaconf
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ fileshare_propsdlgplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### propsdlgplugin_common (static) ############
+
+tde_add_library( propsdlgplugin_common STATIC_PIC AUTOMOC
+ SOURCES propertiespage.cpp propertiespagegui.ui
+)
+
+
+##### fileshare_propsdlgplugin (module) #########
+
+tde_add_kpart( fileshare_propsdlgplugin AUTOMOC
+ SOURCES propsdlgshareplugin.cpp
+ LINK
+ propsdlgplugin_common-static filesharenfs-static
+ filesharesamba-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/filesharing/simple/CMakeLists.txt b/filesharing/simple/CMakeLists.txt
new file mode 100644
index 00000000..093a80c8
--- /dev/null
+++ b/filesharing/simple/CMakeLists.txt
@@ -0,0 +1,41 @@
+#################################################
+#
+# (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}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../advanced/propsdlgplugin
+ ${CMAKE_CURRENT_BINARY_DIR}/../advanced/propsdlgplugin
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES fileshare.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_fileshare (module) ####################
+
+tde_add_kpart( kcm_fileshare AUTOMOC
+ SOURCES
+ fileshare.cpp controlcenter.ui groupconfiggui.ui groupconfigdlg.cpp
+ krichtextlabel.cpp
+ LINK
+ propsdlgplugin_common-static filesharenfs-static filesharesamba-static
+ kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)