summaryrefslogtreecommitdiffstats
path: root/kommander/editor/CMakeLists.txt
blob: 26acc0cd155a49f3b8d4fd546868d66aeb1ce975 (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
add_subdirectory( pics )

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/kommander/widget
  ${CMAKE_SOURCE_DIR}/kommander/widgets
  ${CMAKE_SOURCE_DIR}/kommander/plugin
  ${CMAKE_SOURCE_DIR}/kommander/factory
)

include_directories( SYSTEM
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)

add_definitions( -DKOMMANDER -DTQT_NO_SQL -DDESIGNER )
 

##### kmdr-editor (executable)

tde_add_executable( kmdr-editor AUTOMOC

  SOURCES
        actioneditor.ui assoctexteditor.ui
        connectioneditor.ui createtemplate.ui
        formsettings.ui iconvieweditor.ui
        listboxeditor.ui listeditor.ui
        listvieweditor.ui multilineeditor.ui
        newform.ui paletteeditor.ui
        paletteeditoradvanced.ui pixmapfunction.ui
        preferences.ui previewwidget.ui
        tableeditor.ui wizardeditor.ui
        choosewidget.ui functions.ui
        actiondnd.cpp actioneditorimpl.cpp
        assoctexteditorimpl.cpp actionlistview.cpp
        asciivalidator.cpp assistproc.cpp
        command.cpp connectioneditorimpl.cpp
        defs.cpp filechooser.cpp
        formfile.cpp formsettingsimpl.cpp
        formwindow.cpp hierarchyview.cpp
        iconvieweditorimpl.cpp layout.cpp
        listboxeditorimpl.cpp listvieweditorimpl.cpp
        main.cpp mainwindow.cpp
        mainwindowactions.cpp metadatabase.cpp
        multilineeditorimpl.cpp newformimpl.cpp
        orderindicator.cpp paletteeditoradvancedimpl.cpp
        paletteeditorimpl.cpp parser.cpp
        pixmapchooser.cpp previewframe.cpp
        previewwidgetimpl.cpp propertyeditor.cpp
        qcompletionedit.cpp resource.cpp
        sizehandle.cpp styledbutton.cpp
        tableeditorimpl.cpp widgetdatabase.cpp
        widgetfactory.cpp wizardeditorimpl.cpp
        workspace.cpp choosewidgetimpl.cpp
        functionsimpl.cpp messagelog.cpp
  LINK
     tdecore-shared
     tdeui-shared
     tdeio-shared
     tdeparts-shared
     tdetexteditor-shared
     kommanderwidget-shared
     kommanderwidgets-shared
     kommanderplugin-shared
     kommanderfactory-static

  DESTINATION ${BIN_INSTALL_DIR}
)


##### other data

install(
    FILES kommander.xml kommander-new.xml
    DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax
)

tde_create_translated_desktop( kmdr-editor.desktop )