summaryrefslogtreecommitdiffstats
path: root/interfaces/CMakeLists.txt
blob: 4d3a8f9fff1f6387d31ec83479b9509c7aa15cd4 (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
###############################################################################
# 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}/KOffice)

# kate: indent-width 2; replace-tabs true;