summaryrefslogtreecommitdiffstats
path: root/kglib
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-27 19:49:01 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-27 19:49:01 +0000
commit0d772cdcb1100285ecb0d9867fc9b795d3c8a707 (patch)
tree0a56038a6398ef57af37b82dddbc134e760b2f6a /kglib
parent2fa036d5898ffd3dee5f4c396b09c7d904c49b5e (diff)
downloadtdelibs-0d772cdcb1100285ecb0d9867fc9b795d3c8a707.tar.gz
tdelibs-0d772cdcb1100285ecb0d9867fc9b795d3c8a707.zip
[kdelibs/kglib] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217534 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kglib')
-rw-r--r--kglib/CMakeLists.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/kglib/CMakeLists.txt b/kglib/CMakeLists.txt
new file mode 100644
index 000000000..293a09e75
--- /dev/null
+++ b/kglib/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (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(
+ ${TQT_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ TGlibEventLoop.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+
+#### kglib ######################################
+
+tde_add_library( kglib SHARED
+ SOURCES TGlibEventLoop.cpp
+ VERSION 0.0.0
+ LINK ${TQT_LIBRARIES} ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)