summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/CMakeLists.txt')
-rw-r--r--lib/koproperty/CMakeLists.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/koproperty/CMakeLists.txt b/lib/koproperty/CMakeLists.txt
new file mode 100644
index 000000000..a22303efa
--- /dev/null
+++ b/lib/koproperty/CMakeLists.txt
@@ -0,0 +1,36 @@
+###############################################################################
+# 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/koproperty/editors
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+### Libraries #################################################################
+tde_add_library(koproperty SHARED AUTOMOC
+ SOURCES
+ property.cpp customproperty.cpp set.cpp editor.cpp
+ editoritem.cpp factory.cpp widget.cpp
+ LINK tdecore-shared tdeui-shared kopropertyeditors-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_subdirectory(editors)
+
+### Data ######################################################################
+tde_install_icons()
+
+# kate: indent-width 2; replace-tabs true; \ No newline at end of file