summaryrefslogtreecommitdiffstats
path: root/parts/texttools/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'parts/texttools/CMakeLists.txt')
-rw-r--r--parts/texttools/CMakeLists.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/parts/texttools/CMakeLists.txt b/parts/texttools/CMakeLists.txt
new file mode 100644
index 00000000..7ffd1777
--- /dev/null
+++ b/parts/texttools/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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( ${KDE_PLUGIN} )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevtexttools.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdevtexttools (module) #################
+
+tde_add_kpart( libkdevtexttools AUTOMOC
+ SOURCES texttoolspart.cpp texttoolswidget.cpp
+ LINK kdevelop-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)