summaryrefslogtreecommitdiffstats
path: root/tdevdesigner/designer/CMakeLists.txt
blob: c74d2977d22ef6dd550e231f1074e3f5aa4a6cc5 (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
97
98
99
100
101
102
103
104
105
106
107
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

add_definitions( -DDESIGNER -UQT_NO_ASCII_CAST )

include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/tdevdesigner/shared
  ${CMAKE_SOURCE_DIR}/lib/interfaces/external
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


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

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

install( FILES
    tdevdesigner_part.rc tdevdesigner_part_sh.rc
  DESTINATION ${DATA_INSTALL_DIR}/tdevdesignerpart )

add_subdirectory( pics )


##### libtdevdesignerpart (module) ##############

set( SRCS
  about.ui dbconnection.ui gotolinedialog.ui
  newform.ui actionlistview.cpp asciivalidator.cpp
  command.cpp connectionitems.cpp connectiontable.cpp
  customwidgeteditor.ui formsettings.ui
  multilineeditor.ui customwidgeteditorimpl.cpp
  database.cpp dbconnectioneditor.ui iconvieweditor.ui
  paletteeditor.ui dbconnectionimpl.cpp dbconnectionsimpl.cpp
  dbconnections.ui listboxeditor.ui paletteeditoradvanced.ui
  defs.cpp designerapp.cpp designerappiface.cpp
  editfunctionsimpl.cpp filechooser.cpp formfile.cpp
  formsettingsimpl.cpp formwindow.cpp hierarchyview.cpp
  iconvieweditorimpl.cpp layout.cpp listboxdnd.cpp
  tdevdesigner_part.cpp actiondnd.cpp actioneditorimpl.cpp
  listboxeditorimpl.cpp listboxrename.cpp listdnd.cpp
  listeditor.ui pixmapcollectioneditor.ui listviewdnd.cpp
  listvieweditorimpl.cpp mainwindow.cpp listvieweditor.ui
  pixmapfunction.ui startdialog.ui mainwindowactions.cpp
  menubareditor.cpp metadatabase.cpp multilineeditorimpl.cpp
  newformimpl.cpp orderindicator.cpp myiconloader.cpp
  outputwindow.cpp paletteeditoradvancedimpl.cpp
  paletteeditorimpl.cpp pixmapchooser.cpp
  pixmapcollection.cpp popupmenueditor.cpp previewframe.cpp
  preferences.ui tableeditor.ui designeraction.cpp
  previewwidget.ui variabledialog.ui actioneditor.ui
  previewwidgetimpl.cpp project.cpp projectsettingsimpl.cpp
  projectsettings.ui wizardeditor.ui configtoolboxdialog.ui
  propertyeditor.cpp propertyobject.cpp qcompletionedit.cpp
  replacedialog.ui connectiondialog.ui editfunctions.ui
  resource.cpp sizehandle.cpp sourceeditor.cpp
  richtextfontdialog.ui createtemplate.ui finddialog.ui
  sourcefile.cpp startdialogimpl.cpp styledbutton.cpp
  syntaxhighlighter_html.cpp tableeditorimpl.cpp
  timestamp.cpp variabledialogimpl.cpp widgetaction.cpp
  widgetfactory.cpp wizardeditorimpl.cpp workspace.cpp
)

tde_moc( SRCS
  actiondnd.h actioneditorimpl.h actionlistview.h
  asciivalidator.h command.h connectionitems.h
  connectiontable.h customwidgeteditorimpl.h database.h
  dbconnectionimpl.h dbconnectionsimpl.h editfunctionsimpl.h
  filechooser.h formfile.h formsettingsimpl.h
  formwindow.h hierarchyview.h iconvieweditorimpl.h
  layout.h listboxdnd.h listboxeditorimpl.h listboxrename.h
  listdnd.h listviewdnd.h listvieweditorimpl.h mainwindow.h
  menubareditor.h multilineeditorimpl.h newformimpl.h
  orderindicator.h outputwindow.h paletteeditoradvancedimpl.h
  paletteeditorimpl.h pixmapchooser.h popupmenueditor.h
  previewframe.h previewwidgetimpl.h project.h
  projectsettingsimpl.h propertyeditor.h qcompletionedit.h
  sizehandle.h sourceeditor.h sourcefile.h startdialogimpl.h
  styledbutton.h tableeditorimpl.h timestamp.h
  variabledialogimpl.h widgetaction.h widgetfactory.h
  wizardeditorimpl.h workspace.h
 )


tde_add_kpart( libtdevdesignerpart AUTOMOC
  SOURCES ${SRCS}
  LINK
    tdevqui-static shared-static kinterfacedesigner-shared
    tdeio-shared tdeparts-shared tqassistantclient
  DESTINATION ${PLUGIN_INSTALL_DIR}
)