summaryrefslogtreecommitdiffstats
path: root/lanbrowsing
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-19 21:46:26 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-19 21:46:26 +0000
commit4cad91311b47c94efb14a926130e45fe3662ef05 (patch)
treea3f1fe117a03d3674d980cff286a8d4ffb104e6f /lanbrowsing
parent4c7e54787a593c1bd8f30427720df86f40b751b1 (diff)
downloadtdenetwork-4cad91311b47c94efb14a926130e45fe3662ef05.tar.gz
tdenetwork-4cad91311b47c94efb14a926130e45fe3662ef05.zip
[kdenetwork/lanbrowsing] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1254538 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lanbrowsing')
-rw-r--r--lanbrowsing/CMakeLists.txt14
-rw-r--r--lanbrowsing/kcmlisa/CMakeLists.txt39
-rw-r--r--lanbrowsing/kio_lan/CMakeLists.txt48
-rw-r--r--lanbrowsing/lisa/CMakeLists.txt49
4 files changed, 150 insertions, 0 deletions
diff --git a/lanbrowsing/CMakeLists.txt b/lanbrowsing/CMakeLists.txt
new file mode 100644
index 00000000..146cdefe
--- /dev/null
+++ b/lanbrowsing/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( lisa )
+add_subdirectory( kcmlisa )
+add_subdirectory( kio_lan )
diff --git a/lanbrowsing/kcmlisa/CMakeLists.txt b/lanbrowsing/kcmlisa/CMakeLists.txt
new file mode 100644
index 00000000..fe01dbc2
--- /dev/null
+++ b/lanbrowsing/kcmlisa/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kcmkiolan.desktop kcmlisa.desktop kcmreslisa.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_lanbrowser (module) ###################
+
+tde_add_kpart( kcm_lanbrowser AUTOMOC
+ SOURCES
+ main.cpp setupwizard.cpp kcmlisa.cpp kcmreslisa.cpp kcmkiolan.cpp
+ portsettingsbar.cpp findnic.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/lanbrowsing/kio_lan/CMakeLists.txt b/lanbrowsing/kio_lan/CMakeLists.txt
new file mode 100644
index 00000000..d3a117f3
--- /dev/null
+++ b/lanbrowsing/kio_lan/CMakeLists.txt
@@ -0,0 +1,48 @@
+#################################################
+#
+# (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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ lan.protocol rlan.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ lan.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/dirtree/remote )
+
+install( FILES
+ lan.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/remoteview )
+
+install( FILES
+ lisa.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services )
+
+
+##### kio_lan (module) ##########################
+
+tde_add_kpart( kio_lan
+ SOURCES kio_lan.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/lanbrowsing/lisa/CMakeLists.txt b/lanbrowsing/lisa/CMakeLists.txt
new file mode 100644
index 00000000..c3f828a7
--- /dev/null
+++ b/lanbrowsing/lisa/CMakeLists.txt
@@ -0,0 +1,49 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -fno-rtti -fno-exceptions )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES README DESTINATION ${DATA_INSTALL_DIR}/lisa )
+
+
+##### lisa (executable) #########################
+
+tde_add_executable( lisa
+ SOURCES main.cpp
+ LINK lisa-static
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### reslisa (executable) ######################
+
+tde_add_executable( reslisa
+ SOURCES strictmain.cpp
+ LINK lisa-static
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### lisa (static) #############################
+
+tde_add_library( lisa STATIC
+ SOURCES
+ addressvalidator.cpp netmanager.cpp netscanner.cpp ipaddress.cpp
+ mystring.cpp client.cpp configfile.cpp
+)