summaryrefslogtreecommitdiffstats
path: root/lib/kotext/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/CMakeLists.txt')
-rw-r--r--lib/kotext/CMakeLists.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/kotext/CMakeLists.txt b/lib/kotext/CMakeLists.txt
new file mode 100644
index 00000000..afc0688c
--- /dev/null
+++ b/lib/kotext/CMakeLists.txt
@@ -0,0 +1,57 @@
+###############################################################################
+# 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/store
+ ${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(kotext SHARED AUTOMOC
+ SOURCES
+ KoComplexText.cpp KoRichText.cpp
+ KoTextZoomHandler.cpp KoBorder.cpp
+ KoTextFormat.cpp KoParagCounter.cpp KoStyleCollection.cpp KoTextCommand.cpp
+ KoTextParag.cpp KoTextDocument.cpp KoTextFormatter.cpp KoParagLayout.cpp
+ KoTextObject.cpp KoTextView.cpp KoAutoFormat.cpp KoAutoFormatDia.cpp
+ KoParagDia.cpp KoVariable.cpp KoCustomVariablesDia.cpp
+ KoChangeCaseDia.cpp KoStyleManager.cpp KoSearchDia.cpp
+ timedateformatwidget.ui TimeFormatWidget.cpp DateFormatWidget.cpp
+ kofonttabbase.ui KoFontTab.cpp KoTextBookmark.cpp
+ kohighlightingtabbase.ui KoHighlightingTab.cpp
+ kodecorationtabbase.ui KoDecorationTab.cpp
+ kolayouttabbase.ui KoLayoutTab.cpp kolanguagetabbase.ui KoLanguageTab.cpp
+ KoFontDiaPreview.cpp KoCompletionDia.cpp KoCompletionBase.ui
+ KoTextViewIface.skel KoTextViewIface.cpp KoFontDia.cpp KoBgSpellCheck.cpp
+ KoCommentDia.cpp KoSpell.cpp KoCreateStyleDia.cpp KoTextCustomItem.cpp
+ KoImportStyleDia.cpp KoTextIterator.cpp KoOasisContext.cpp KoListStyleStack.cpp
+ KoUserStyle.cpp KoUserStyleCollection.cpp KoParagStyle.cpp KoParagDecorationTab.ui
+ LINK kofficeui-shared kohyphen-static tdespell2-shared tdeutils-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_subdirectory(kohyphen)
+
+### Headers ###################################################################
+# install(
+# FILES
+# KoTextZoomHandler.h KoTextFormat.h KoParagCounter.h KoStyleCollection.h
+# KoTextDocument.h KoBgSpellCheck.h KoCommentDia.h KoCreateStyleDia.h
+# DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice
+# )
+
+# kate: indent-width 2; replace-tabs true; \ No newline at end of file