summaryrefslogtreecommitdiffstats
path: root/lib/koproperty
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty')
-rw-r--r--lib/koproperty/CMakeLists.txt36
-rw-r--r--lib/koproperty/editors/CMakeLists.txt33
2 files changed, 69 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
diff --git a/lib/koproperty/editors/CMakeLists.txt b/lib/koproperty/editors/CMakeLists.txt
new file mode 100644
index 000000000..b201dc53f
--- /dev/null
+++ b/lib/koproperty/editors/CMakeLists.txt
@@ -0,0 +1,33 @@
+###############################################################################
+# 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(kopropertyeditors SHARED AUTOMOC
+ SOURCES
+ booledit.cpp coloredit.cpp combobox.cpp cursoredit.cpp dateedit.cpp
+ datetimeedit.cpp dummywidget.cpp fontedit.cpp linestyledit.cpp
+ pixmapedit.cpp pointedit.cpp rectedit.cpp sizeedit.cpp sizepolicyedit.cpp
+ spinbox.cpp stringedit.cpp stringlistedit.cpp symbolcombo.cpp timeedit.cpp
+ urledit.cpp
+ LINK tdeui-shared tdeio-shared
+)
+
+# kate: indent-width 2; replace-tabs true; \ No newline at end of file