summaryrefslogtreecommitdiffstats
path: root/interfaces/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/CMakeLists.txt')
-rw-r--r--interfaces/CMakeLists.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..eb0370926
--- /dev/null
+++ b/interfaces/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/kofficeui
+ ${CMAKE_SOURCE_DIR}/lib/kstore
+ ${CMAKE_SOURCE_DIR}/lib/kwmf
+ ${CMAKE_SOURCE_DIR}/lib/kopalette
+ ${CMAKE_SOURCE_DIR}/kchart/kdchart
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+### Libraries #################################################################
+tde_add_library(kochart SHARED AUTOMOC
+ SOURCES koChart.cpp
+ LINK kofficecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+### Headers ###################################################################
+install(FILES koChart.h DESTINATION ${INCLUDE_INSTALL_DIR}/kross/main)
+
+# kate: indent-width 2; replace-tabs true; \ No newline at end of file