summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/lisa/CMakeLists.txt
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/lisa/CMakeLists.txt
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/lisa/CMakeLists.txt')
-rw-r--r--lanbrowsing/lisa/CMakeLists.txt49
1 files changed, 49 insertions, 0 deletions
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
+)