Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/CMakeLists.txt
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 8 | set(kiofilewidgets_SRCS | |||
---|---|---|---|---|---|
42 | kurlnavigatorpathselectoreventfilter.cpp | 42 | kurlnavigatorpathselectoreventfilter.cpp | ||
43 | 43 | | |||
44 | 44 | | |||
45 | ) | 45 | ) | ||
46 | 46 | | |||
47 | qt5_add_resources(kiofilewidgets_SRCS ../new_file_templates/templates.qrc) | 47 | qt5_add_resources(kiofilewidgets_SRCS ../new_file_templates/templates.qrc) | ||
48 | 48 | | |||
49 | add_library(KF5KIOFileWidgets ${kiofilewidgets_SRCS}) | 49 | add_library(KF5KIOFileWidgets ${kiofilewidgets_SRCS}) | ||
50 | generate_export_header(KF5KIOFileWidgets BASE_NAME KIOFileWidgets) | | |||
51 | add_library(KF5::KIOFileWidgets ALIAS KF5KIOFileWidgets) | 50 | add_library(KF5::KIOFileWidgets ALIAS KF5KIOFileWidgets) | ||
51 | ecm_generate_export_header(KF5KIOFileWidgets | ||||
52 | BASE_NAME KIOFileWidgets | ||||
53 | # GROUP_BASE_NAME KF <- enable once all of KF modules use ecm_generate_export_header | ||||
54 | VERSION ${KF5_VERSION} | ||||
55 | DEPRECATED_BASE_VERSION 0 | ||||
56 | DEPRECATION_VERSIONS 4.3 4.5 5.0 5.33 | ||||
57 | ) | ||||
58 | # TODO: add support for EXCLUDE_DEPRECATED_BEFORE_AND_AT to all KIO libs | ||||
59 | # needs fixing of undeprecated API being still implemented using own deprecated API | ||||
52 | 60 | | |||
53 | target_include_directories(KF5KIOFileWidgets INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KIOFileWidgets>") | 61 | target_include_directories(KF5KIOFileWidgets INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KIOFileWidgets>") | ||
54 | 62 | | |||
55 | target_link_libraries(KF5KIOFileWidgets | 63 | target_link_libraries(KF5KIOFileWidgets | ||
56 | PUBLIC | 64 | PUBLIC | ||
57 | KF5::KIOWidgets | 65 | KF5::KIOWidgets | ||
58 | KF5::Bookmarks # in KFilePlacesModel's API | 66 | KF5::Bookmarks # in KFilePlacesModel's API | ||
59 | KF5::ItemViews # kdirsortfilterproxymodel | 67 | KF5::ItemViews # kdirsortfilterproxymodel | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |