summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/CMakeLists.txt
blob: 38221021973b44e69c9c3389e8f97c47a8dcec23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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;