summaryrefslogtreecommitdiffstats
path: root/interfaces/tdetexteditor/CMakeLists.txt
blob: a0fea2f48c76d9e48a9a74f00761f70ddad2c3d8 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#################################################
#
#  (C) 2010 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_BINARY_DIR}/tdecore
  ${CMAKE_BINARY_DIR}/tdeabc
  ${CMAKE_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/dcop
  ${CMAKE_SOURCE_DIR}/tdecore
  ${CMAKE_SOURCE_DIR}/tdeui
  ${CMAKE_SOURCE_DIR}/tdeio
  ${CMAKE_SOURCE_DIR}/tdeio/tdeio
  ${CMAKE_SOURCE_DIR}/tdeabc
  ${CMAKE_SOURCE_DIR}/interfaces
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### headers ###################################

install( FILES
    document.h view.h editor.h plugin.h editinterface.h
    undointerface.h selectioninterface.h cursorinterface.h
    clipboardinterface.h popupmenuinterface.h viewcursorinterface.h
    searchinterface.h highlightinginterface.h blockselectioninterface.h
    codecompletioninterface.h configinterface.h markinterface.h
    printinterface.h wordwrapinterface.h dynwordwrapinterface.h
    markinterfaceextension.h configinterfaceextension.h
    encodinginterface.h viewstatusmsginterface.h
    sessionconfiginterface.h editorchooser.h documentinfo.h
    selectioninterfaceext.h selectionextdcopinterface.h
    texthintinterface.h editinterfaceext.h variableinterface.h
    templateinterface.h
  DESTINATION ${INCLUDE_INSTALL_DIR}/tdetexteditor )


##### other data ################################

install( FILES
    tdetexteditor.desktop tdetexteditoreditor.desktop
    tdetexteditorplugin.desktop
  DESTINATION ${SERVICETYPES_INSTALL_DIR} )

install( FILES
    kcm_tdetexteditor.desktop
  DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser )



##### tdetexteditor ###############################

set( target tdetexteditor )

set( ${target}_SRCS
  tdetexteditor.cpp
  editinterface.cpp clipboardinterface.cpp  selectioninterface.cpp searchinterface.cpp
  codecompletioninterface.cpp wordwrapinterface.cpp blockselectioninterface.cpp
  configinterface.cpp cursorinterface.cpp  dynwordwrapinterface.cpp
  printinterface.cpp highlightinginterface.cpp markinterface.cpp
  popupmenuinterface.cpp undointerface.cpp viewcursorinterface.cpp
  editdcopinterface.cpp editdcopinterface.skel clipboarddcopinterface.cpp
  clipboarddcopinterface.skel selectiondcopinterface.cpp selectiondcopinterface.skel
  searchdcopinterface.cpp searchdcopinterface.skel markinterfaceextension.cpp
  configinterfaceextension.cpp encodinginterface.cpp sessionconfiginterface.cpp
  viewstatusmsginterface.cpp editorchooser_ui.ui editorchooser.cpp
  blockselectiondcopinterface.cpp documentinfo.cpp documentdcopinfo.cpp
  blockselectiondcopinterface.skel documentdcopinfo.skel encodingdcopinterface.cpp
  encodingdcopinterface.skel printdcopinterface.cpp printdcopinterface.skel
  undodcopinterface.cpp undodcopinterface.skel viewcursordcopinterface.cpp
  viewcursordcopinterface.skel viewstatusmsgdcopinterface.cpp
  viewstatusmsgdcopinterface.skel selectioninterfaceext.cpp selectionextdcopinterface.skel
  texthintinterface.cpp editinterfaceext.cpp variableinterface.cpp templateinterface.cpp
)

tde_add_library( ${target} SHARED AUTOMOC
  SOURCES ${${target}_SRCS}
  VERSION 0.0.0
  LINK tdeui-shared tdeabc-shared tdeparts-shared
  DEPENDENCIES dcopidl dcopidl2cpp
  DESTINATION ${LIB_INSTALL_DIR}
)