summaryrefslogtreecommitdiffstats
path: root/part/CMakeLists.txt
blob: 58e52616b4fd1e2bd1be8017896e516f12ae4def (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
add_subdirectory( pics  )
add_subdirectory( icons )

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### kxmleditorpart (shared)

tde_add_library( kxmleditorpart SHARED AUTOMOC

  SOURCES
        dcopiface_part_ro.skel
        kxesearchdialogbase.ui kxeprocinstrdialogbase.ui
        kxespecprocinstrdialogbase.ui kxeelementdialogbase.ui
        kxeattributedialogbase.ui kxechardatadialogbase.ui
        kxeattachdialogbase.ui kxechoosestringdialogbase.ui
        kxetreeviewsettingspage.ui kxenewfilesettingspage.ui
        kxeprintsettingspage.ui kxearchiveextssettingspage.ui
        kxetextviewsettingspage.ui kxetexteditordialogbase.ui
        kxesearchdialog.cpp kxeprocinstrdialog.cpp
        kxespecprocinstrdialog.cpp kxeelementdialog.cpp
        kxeattributedialog.cpp kxechardatadialog.cpp
        kxechoosestringdialog.cpp kxefilenewdialog.cpp
        kxeconfiguration.cpp kxesettings.cpp
        kxetreeviewsettings.cpp kxenewfilesettings.cpp
        kxeprintsettings.cpp kxearchiveextssettings.cpp
        kxetextviewsettings.cpp kxe_treeviewitem.cpp
        kxe_treeview.cpp kxe_viewelement.cpp
        kxe_viewattributes.cpp kxesyntaxhighlighter.cpp
        kxetexteditordialog.cpp actions.cpp
        qdom_add.cpp kxecommand.cpp
        commands_file.cpp commands_edit.cpp
        commands_insert.cpp kxmleditorpart.cpp
        kxmleditorfactory.cpp dcopiface_part_ro.cpp
        kxedocument.cpp
  LINK
     tdecore-shared
     tdeui-shared
     tdeio-shared
     tdeparts-shared
     tdeprint-shared

  VERSION 1.0.0

  DESTINATION ${LIB_INSTALL_DIR}
)


##### other data

install(
    FILES
        kxedocument.rc
        kxmleditorpartEditUI.rc
        kxmleditorpartBrowseUI.rc

    DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)

install(
    FILES kxmleditorpart.desktop
    DESTINATION ${SERVICES_INSTALL_DIR}
)