summaryrefslogtreecommitdiffstats
path: root/lib/kotext/kohyphen/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/kohyphen/CMakeLists.txt')
-rw-r--r--lib/kotext/kohyphen/CMakeLists.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/kotext/kohyphen/CMakeLists.txt b/lib/kotext/kohyphen/CMakeLists.txt
new file mode 100644
index 000000000..a9718a46c
--- /dev/null
+++ b/lib/kotext/kohyphen/CMakeLists.txt
@@ -0,0 +1,41 @@
+###############################################################################
+# Trinity KOffice #
+# --------------- #
+# This file is licensed under the terms of GNU GPL v3 or later. #
+# Improvements and feedback are welcome. #
+###############################################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/kofficecore
+ ${CMAKE_SOURCE_DIR}/lib/kofficeui
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+### Libraries #################################################################
+tde_add_library(kohyphen STATIC_PIC AUTOMOC
+ SOURCES hnjalloc.c hyphen.c kohyphen.cpp
+ LINK tdecore-shared
+)
+
+### Programs ##################################################################
+if (BUILD_TESTS)
+ tde_add_executable(kohyphentest AUTOMOC
+ SOURCES kohyphentest.cpp
+ LINK
+ tdecore-shared tdeui-shared tdefx-shared tdeio-shared
+ tdetexteditor kohyphen-static
+ )
+endif()
+
+### Data ######################################################################
+add_subdirectory(hyphdicts)
+
+# kate: indent-width 2; replace-tabs true; \ No newline at end of file