summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/CMakeLists.txt
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-09-30 00:04:56 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-09-30 00:16:43 +0300
commit28f28e0af6f7a49a651e28afd3c951c022c58b06 (patch)
tree2dcae47d3464b975c7e48a0f6a7deabaf46ad429 /kchart/kdchart/CMakeLists.txt
parenta616663e125e9f6f2966ee85e7b37ebc85eb2967 (diff)
downloadkoffice-feat/cmake-port.tar.gz
koffice-feat/cmake-port.zip
WIP: CMake portfeat/cmake-port
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kchart/kdchart/CMakeLists.txt')
-rw-r--r--kchart/kdchart/CMakeLists.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/kchart/kdchart/CMakeLists.txt b/kchart/kdchart/CMakeLists.txt
new file mode 100644
index 00000000..38221021
--- /dev/null
+++ b/kchart/kdchart/CMakeLists.txt
@@ -0,0 +1,56 @@
+###############################################################################
+# 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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+### Libraries #################################################################
+tde_add_library(kdchart SHARED AUTOMOC
+ SOURCES
+ KDChart.cpp
+ KDChartAreaPainter.cpp KDChartAxesPainter.cpp KDChartAxisParams.cpp
+ KDChartBarPainter.cpp KDChartBaseSeries.cpp KDChartBWPainter.cpp
+ KDChartCustomBox.cpp KDChartDataIntern.cpp KDChartHiLoPainter.cpp
+ KDChartLinesPainter.cpp KDChartPainter.cpp KDChartParams.cpp
+ KDChartParams_frame.cpp KDChartParams_io.cpp KDChartPiePainter.cpp
+ KDChartPlaneSeries.cpp KDChartPolarPainter.cpp KDChartPropertySet.cpp
+ KDChartRingPainter.cpp KDChartSeriesCollection.cpp KDChartTableBase.cpp
+ KDChartTextPiece.cpp KDChartVectorSeries.cpp KDChartVectorTable.cpp
+ KDChartWidget.cpp KDDrawText.cpp KDFrame.cpp KDFrameProfileSection.cpp
+ KDXMLTools.cpp KDChartEnums.cpp KDChartAxisParamsWrapper.cpp
+ KDChartCustomBoxWrapper.cpp KDChartParamsWrapper.cpp
+ KDChartTableDataWrapper.cpp
+ LINK tdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+### Headers ##################################################################
+install(
+ FILES
+ KDChart.h
+ KDChartAreaPainter.h KDChartAxesPainter.h
+ KDChartBarPainter.h KDChartBaseSeries.h KDChartBWPainter.h
+ KDChartDataIntern.h KDChartDataRegion.h KDChartHiLoPainter.h
+ KDChartLinesPainter.h KDChartPiePainter.h KDChartPainter.h
+ KDChartPolarPainter.h KDChartRingPainter.h
+ KDChartSeriesCollection.h KDChartPlaneSeries.h
+ KDChartVectorSeries.h KDChartTextPiece.h KDDrawText.h
+ KDChartNotEnoughSpaceException.h KDChartUnknownTypeException.h
+ KDChartUnknownTypeException.h KDXMLTools.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
+
+# kate: indent-width 2; replace-tabs true; \ No newline at end of file