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( 0013 ${CMAKE_SOURCE_DIR}/src/widget/tableview 0014 ${CMAKE_SOURCE_DIR}/src/core 0015 ${CMAKE_SOURCE_DIR}/src/kexiutils/style 0016 ) 0017 0018 ########### next target ############### 0019 0020 set(kexiextendedwidgets_LIB_SRCS 0021 fields/KexiFieldComboBox.cpp 0022 fields/KexiFieldListModel.cpp 0023 fields/KexiFieldListModelItem.cpp 0024 fields/KexiFieldListView.cpp 0025 0026 navigator/KexiProjectModel.cpp 0027 navigator/KexiProjectModelItem.cpp 0028 navigator/KexiProjectItemDelegate.cpp 0029 navigator/KexiProjectNavigator.cpp 0030 navigator/KexiProjectTreeView.cpp 0031 0032 properties/KexiPropertyPaneWidget.cpp 0033 properties/KexiCustomPropertyFactory.cpp 0034 properties/KexiCustomPropertyFactory_p.cpp 0035 properties/KexiObjectInfoWidget.cpp 0036 properties/KexiPropertyPaneLineEdit.cpp 0037 0038 kexiquerydesignersqleditor.cpp 0039 kexiqueryparameters.cpp 0040 kexisectionheader.cpp 0041 kexidbdrivercombobox.cpp 0042 kexieditor.cpp 0043 KexiDataSourceComboBox.cpp 0044 kexicharencodingcombobox.cpp 0045 KexiDBCaptionPage.cpp 0046 KexiProjectSelectorWidget.cpp 0047 kexislider.cpp 0048 KexiServerDriverNotFoundMessage.cpp 0049 KexiNameWidget.cpp 0050 KexiNameDialog.cpp 0051 KexiFileWidgetInterface.cpp 0052 KexiFileRequester.cpp 0053 KexiStartupFileHandler.cpp 0054 KexiListView.cpp 0055 KexiWidgetWidthAnimator.cpp 0056 ) 0057 0058 if(SHOULD_BUILD_KEXI_DESKTOP_APP) 0059 list(APPEND kexiextendedwidgets_LIB_SRCS 0060 #navigator/KexiProjectListView.cpp 0061 #navigator/KexiProjectListViewItem.cpp 0062 kexidbconnectionwidget.cpp 0063 # TODO replace use of KexiProjectListView and KexiProjectListViewList (with KexiProjectNavigator) 0064 # in kexiactionselectiondialog and remove them 0065 kexiprjtypeselector.cpp 0066 KexiConnectionSelectorWidget.cpp 0067 KexiFileDialog.cpp 0068 KexiPasswordWidget.cpp 0069 KexiDBPasswordDialog.cpp 0070 ) 0071 if(KEXI_USE_KFILEWIDGET) 0072 list(APPEND kexiextendedwidgets_LIB_SRCS KexiFileWidget.cpp) 0073 endif() 0074 ki18n_wrap_ui(kexiextendedwidgets_LIB_SRCS 0075 KexiConnectionSelector.ui 0076 kexidbconnectionwidget.ui 0077 kexidbconnectionwidgetdetails.ui 0078 kexiprjtypeselector.ui 0079 KexiPasswordWidget.ui 0080 ) 0081 endif () 0082 0083 ki18n_wrap_ui(kexiextendedwidgets_LIB_SRCS 0084 KexiDBCaptionPage.ui 0085 KexiProjectSelector.ui 0086 ) 0087 0088 kexi_add_library(kexiextendedwidgets SHARED ${kexiextendedwidgets_LIB_SRCS}) 0089 0090 generate_export_header(kexiextendedwidgets BASE_NAME kexiextwidgets) 0091 0092 target_link_libraries(kexiextendedwidgets 0093 PRIVATE 0094 kexidataviewcommon 0095 kexiguiutils 0096 0097 KF5::TextWidgets # KTextEdit 0098 KF5::Codecs # KCharsets 0099 PUBLIC 0100 kexicore 0101 0102 KPropertyWidgets 0103 0104 KF5::TextEditor 0105 KF5::ConfigWidgets 0106 ) 0107 0108 if(KEXI_USE_KFILEWIDGET) 0109 target_link_libraries(kexiextendedwidgets 0110 PUBLIC KF5::KIOFileWidgets) # KFileWidget 0111 else() 0112 target_link_libraries(kexiextendedwidgets 0113 PRIVATE KF5::KIOFileWidgets) # KFileWidget::getStartUrl, KFileFilterCombo 0114 endif() 0115 0116 install(TARGETS kexiextendedwidgets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})