summaryrefslogtreecommitdiffstats
path: root/kcontrol/kio
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 23:42:11 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 23:42:11 +0000
commitb6fc43ccd522dfbc1e215b12adb8208c156bbd31 (patch)
treeb6d14378dd6c3d2f74ea8acf515cef7f4a024cb2 /kcontrol/kio
parentd53bf360906757a36588588fb0286d3b4784ffcb (diff)
downloadtdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.tar.gz
tdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.zip
[kdebase] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kio')
-rw-r--r--kcontrol/kio/CMakeLists.txt55
-rw-r--r--kcontrol/kio/uasproviders/CMakeLists.txt23
2 files changed, 78 insertions, 0 deletions
diff --git a/kcontrol/kio/CMakeLists.txt b/kcontrol/kio/CMakeLists.txt
new file mode 100644
index 000000000..79be7a766
--- /dev/null
+++ b/kcontrol/kio/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (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( uasproviders )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES
+ cookies.desktop useragent.desktop cache.desktop
+ lanbrowser.desktop netpref.desktop proxy.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES uninstall.desktop
+ RENAME smb.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/Settings/WebBrowsing )
+
+install( FILES socks.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( FILES uasprovider.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+install( FILES smb.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_kio (module) ##########################
+
+tde_add_kpart( kcm_kio AUTOMOC
+ SOURCES
+ policydlg.cpp kcookiesmain.cpp kcookiespolicies.cpp
+ main.cpp smbrodlg.cpp useragentdlg.cpp kproxydlgbase.cpp
+ kmanualproxydlg.cpp kenvvarproxydlg.cpp kproxydlg.cpp
+ kcookiesmanagement.cpp fakeuaprovider.cpp uagentproviderdlg.cpp
+ netpref.cpp cache.cpp ksaveioconfig.cpp socks.cpp socksbase.ui
+ kproxydlg_ui.ui kcookiesmanagementdlg_ui.ui kcookiespoliciesdlg_ui.ui
+ policydlg_ui.ui useragentdlg_ui.ui uagentproviderdlg_ui.ui
+ manualproxy_ui.ui envvarproxy_ui.ui cache_ui.ui
+ LINK kio-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/kio/uasproviders/CMakeLists.txt b/kcontrol/kio/uasproviders/CMakeLists.txt
new file mode 100644
index 000000000..c9a6735e1
--- /dev/null
+++ b/kcontrol/kio/uasproviders/CMakeLists.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ ie401onwinnt4.desktop ie45onwinnt5.desktop ie501onwinnt5.desktop
+ ie50onppc.desktop ie55onwin98.desktop ie55onwinnt5.desktop
+ ie60onwinnt51.desktop ie60oncurrent.desktop mozonwinxp.desktop
+ mozonwin2000.desktop mozoncurrent16.desktop mozoncurrent12.desktop
+ mozoncurrent.desktop nn301oncurrent.desktop nn475onwin95.desktop
+ nn475oncurrent.desktop nn476onppc.desktop op403onwinnt4.desktop
+ lynxoncurrent.desktop w3moncurrent.desktop wgetoncurrent.desktop
+ ns71oncurrent.desktop ns71onwinnt51.desktop op75oncurrent.desktop
+ safari12.desktop safari20.desktop googlebot.desktop
+ firefox10oncurrent.desktop firefox15oncurrent.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/useragentstrings )