~ubuntu-branches/debian/sid/kexi/sid

« back to all changes in this revision

Viewing changes to src/widget/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2017-06-24 20:10:10 UTC
  • Revision ID: package-import@ubuntu.com-20170624201010-5lrzd5r2vwthwifp
Tags: upstream-3.0.1.1
ImportĀ upstreamĀ versionĀ 3.0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_subdirectory( dataviewcommon )
 
2
add_subdirectory( relations )
 
3
add_subdirectory( undo )
 
4
add_subdirectory( utils )
 
5
 
 
6
if(KEXI_MOBILE)
 
7
 
 
8
else()
 
9
  add_subdirectory( tableview )
 
10
endif()
 
11
 
 
12
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=44023)
 
13
 
 
14
include_directories(${CMAKE_SOURCE_DIR}/src/widget/tableview ${CMAKE_SOURCE_DIR}/src/core)
 
15
 
 
16
 
 
17
########### next target ###############
 
18
 
 
19
set(kexiextendedwidgets_LIB_SRCS
 
20
    fields/KexiFieldComboBox.cpp
 
21
    fields/KexiFieldListModel.cpp
 
22
    fields/KexiFieldListModelItem.cpp
 
23
    fields/KexiFieldListView.cpp
 
24
 
 
25
    navigator/KexiProjectModel.cpp
 
26
    navigator/KexiProjectModelItem.cpp
 
27
    navigator/KexiProjectItemDelegate.cpp
 
28
    navigator/KexiProjectNavigator.cpp
 
29
    navigator/KexiProjectTreeView.cpp
 
30
 
 
31
    properties/KexiCustomPropertyFactory.cpp
 
32
    properties/KexiCustomPropertyFactory_p.cpp
 
33
    properties/KexiPropertyEditorView.cpp
 
34
    properties/KexiPropertyPaneViewBase.cpp
 
35
 
 
36
    kexiquerydesignersqleditor.cpp
 
37
    kexiqueryparameters.cpp
 
38
    kexisectionheader.cpp
 
39
    kexidbdrivercombobox.cpp
 
40
    kexieditor.cpp
 
41
    KexiDataSourceComboBox.cpp
 
42
    KexiObjectInfoLabel.cpp
 
43
    kexicharencodingcombobox.cpp
 
44
    KexiDBTitlePage.cpp
 
45
    KexiProjectSelectorWidget.cpp
 
46
    kexislider.cpp
 
47
    KexiServerDriverNotFoundMessage.cpp
 
48
    KexiNameWidget.cpp
 
49
    KexiNameDialog.cpp
 
50
    KexiStartupFileHandler.cpp
 
51
    KexiListView.cpp
 
52
  )
 
53
 
 
54
if (KEXI_MOBILE)
 
55
 
 
56
else ()
 
57
  list(APPEND kexiextendedwidgets_LIB_SRCS
 
58
    #navigator/KexiProjectListView.cpp
 
59
    #navigator/KexiProjectListViewItem.cpp
 
60
    kexidbconnectionwidget.cpp
 
61
# TODO replace use of KexiProjectListView and KexiProjectListViewList (with KexiProjectNavigator)
 
62
#      in kexiactionselectiondialog and remove them
 
63
    kexiprjtypeselector.cpp
 
64
    KexiConnectionSelectorWidget.cpp
 
65
    KexiFileWidget.cpp
 
66
    KexiFileDialog.cpp
 
67
    KexiPasswordWidget.cpp
 
68
    KexiDBPasswordDialog.cpp
 
69
  )
 
70
  ki18n_wrap_ui(kexiextendedwidgets_LIB_SRCS
 
71
    KexiConnectionSelector.ui
 
72
    kexidbconnectionwidget.ui
 
73
    kexidbconnectionwidgetdetails.ui
 
74
    kexiprjtypeselector.ui
 
75
    KexiPasswordWidget.ui
 
76
  )
 
77
endif ()
 
78
 
 
79
ki18n_wrap_ui(kexiextendedwidgets_LIB_SRCS
 
80
    KexiDBTitlePage.ui
 
81
    KexiProjectSelector.ui
 
82
)
 
83
 
 
84
add_library(kexiextendedwidgets SHARED ${kexiextendedwidgets_LIB_SRCS})
 
85
 
 
86
generate_export_header(kexiextendedwidgets BASE_NAME kexiextwidgets)
 
87
 
 
88
target_link_libraries(kexiextendedwidgets
 
89
    PRIVATE
 
90
        kexidataviewcommon
 
91
        kexiutils
 
92
        kexiguiutils
 
93
        kexicore
 
94
 
 
95
        KDb
 
96
        KPropertyWidgets
 
97
 
 
98
        KF5::TextWidgets # KTextEdit
 
99
        KF5::Codecs # KCharsets
 
100
    PUBLIC
 
101
        KF5::KIOFileWidgets # KFileWidget
 
102
        KF5::TextEditor
 
103
)
 
104
 
 
105
set_target_properties(kexiextendedwidgets PROPERTIES VERSION ${GENERIC_KEXI_LIB_VERSION} SOVERSION ${GENERIC_KEXI_LIB_SOVERSION} )
 
106
install(TARGETS kexiextendedwidgets  ${INSTALL_TARGETS_DEFAULT_ARGS})