Warning, /office/kexi/src/widget/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_subdirectory( dataviewcommon ) 0002 add_subdirectory( relations ) 0003 add_subdirectory( undo ) 0004 add_subdirectory( utils ) 0005 0006 if(SHOULD_BUILD_KEXI_DESKTOP_APP) 0007 add_subdirectory( tableview ) 0008 endif() 0009 0010 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=44023) 0011 0012 include_directories(${CMAKE_SOURCE_DIR}/src/widget/tableview ${CMAKE_SOURCE_DIR}/src/core) 0013 0014 0015 ########### next target ############### 0016 0017 set(kexiextendedwidgets_LIB_SRCS 0018 fields/KexiFieldComboBox.cpp 0019 fields/KexiFieldListModel.cpp 0020 fields/KexiFieldListModelItem.cpp 0021 fields/KexiFieldListView.cpp 0022 0023 navigator/KexiProjectModel.cpp 0024 navigator/KexiProjectModelItem.cpp 0025 navigator/KexiProjectItemDelegate.cpp 0026 navigator/KexiProjectNavigator.cpp 0027 navigator/KexiProjectTreeView.cpp 0028 0029 properties/KexiCustomPropertyFactory.cpp 0030 properties/KexiCustomPropertyFactory_p.cpp 0031 properties/KexiPropertyEditorView.cpp 0032 properties/KexiPropertyPaneViewBase.cpp 0033 0034 kexiquerydesignersqleditor.cpp 0035 kexiqueryparameters.cpp 0036 kexisectionheader.cpp 0037 kexidbdrivercombobox.cpp 0038 kexieditor.cpp 0039 KexiDataSourceComboBox.cpp 0040 KexiObjectInfoLabel.cpp 0041 kexicharencodingcombobox.cpp 0042 KexiDBCaptionPage.cpp 0043 KexiProjectSelectorWidget.cpp 0044 kexislider.cpp 0045 KexiServerDriverNotFoundMessage.cpp 0046 KexiNameWidget.cpp 0047 KexiNameDialog.cpp 0048 KexiFileWidgetInterface.cpp 0049 KexiFileRequester.cpp 0050 KexiStartupFileHandler.cpp 0051 KexiListView.cpp 0052 ) 0053 0054 if(SHOULD_BUILD_KEXI_DESKTOP_APP) 0055 list(APPEND kexiextendedwidgets_LIB_SRCS 0056 #navigator/KexiProjectListView.cpp 0057 #navigator/KexiProjectListViewItem.cpp 0058 kexidbconnectionwidget.cpp 0059 # TODO replace use of KexiProjectListView and KexiProjectListViewList (with KexiProjectNavigator) 0060 # in kexiactionselectiondialog and remove them 0061 kexiprjtypeselector.cpp 0062 KexiConnectionSelectorWidget.cpp 0063 KexiFileDialog.cpp 0064 KexiPasswordWidget.cpp 0065 KexiDBPasswordDialog.cpp 0066 ) 0067 if(KEXI_USE_KFILEWIDGET) 0068 list(APPEND kexiextendedwidgets_LIB_SRCS KexiFileWidget.cpp) 0069 endif() 0070 ki18n_wrap_ui(kexiextendedwidgets_LIB_SRCS 0071 KexiConnectionSelector.ui 0072 kexidbconnectionwidget.ui 0073 kexidbconnectionwidgetdetails.ui 0074 kexiprjtypeselector.ui 0075 KexiPasswordWidget.ui 0076 ) 0077 endif () 0078 0079 ki18n_wrap_ui(kexiextendedwidgets_LIB_SRCS 0080 KexiDBCaptionPage.ui 0081 KexiProjectSelector.ui 0082 ) 0083 0084 kexi_add_library(kexiextendedwidgets SHARED ${kexiextendedwidgets_LIB_SRCS}) 0085 0086 generate_export_header(kexiextendedwidgets BASE_NAME kexiextwidgets) 0087 0088 target_link_libraries(kexiextendedwidgets 0089 PRIVATE 0090 kexidataviewcommon 0091 kexiguiutils 0092 0093 KF5::TextWidgets # KTextEdit 0094 KF5::Codecs # KCharsets 0095 PUBLIC 0096 kexicore 0097 0098 KPropertyWidgets 0099 0100 KF5::TextEditor 0101 ) 0102 0103 if(KEXI_USE_KFILEWIDGET) 0104 target_link_libraries(kexiextendedwidgets 0105 PUBLIC KF5::KIOFileWidgets) # KFileWidget 0106 else() 0107 target_link_libraries(kexiextendedwidgets 0108 PRIVATE KF5::KIOFileWidgets) # KFileWidget::getStartUrl, KFileFilterCombo 0109 endif() 0110 0111 install(TARGETS kexiextendedwidgets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})