Changeset View
Changeset View
Standalone View
Standalone View
src/core/CMakeLists.txt
1 | 1 | | |||
---|---|---|---|---|---|
2 | set(kitemmodels_SRCS | 2 | set(kitemmodels_SRCS | ||
3 | kbreadcrumbselectionmodel.cpp | 3 | kbreadcrumbselectionmodel.cpp | ||
4 | kcheckableproxymodel.cpp | 4 | kcheckableproxymodel.cpp | ||
5 | kconcatenaterowsproxymodel.cpp | 5 | kconcatenaterowsproxymodel.cpp | ||
6 | kdescendantsproxymodel.cpp | 6 | kdescendantsproxymodel.cpp | ||
7 | kextracolumnsproxymodel.cpp | 7 | kextracolumnsproxymodel.cpp | ||
8 | klinkitemselectionmodel.cpp | 8 | klinkitemselectionmodel.cpp | ||
9 | kmodelindexproxymapper.cpp | 9 | kmodelindexproxymapper.cpp | ||
10 | knumbermodel.cpp | 10 | knumbermodel.cpp | ||
11 | krearrangecolumnsproxymodel.cpp | 11 | krearrangecolumnsproxymodel.cpp | ||
12 | krecursivefilterproxymodel.cpp | 12 | krecursivefilterproxymodel.cpp | ||
13 | kselectionproxymodel.cpp | 13 | kselectionproxymodel.cpp | ||
14 | kcolumnheadersmodel.cpp | ||||
14 | ) | 15 | ) | ||
15 | 16 | | |||
16 | ecm_qt_declare_logging_category(kitemmodels_SRCS HEADER kitemmodels_debug.h IDENTIFIER KITEMMODELS_LOG CATEGORY_NAME kf5.kitemmodels) | 17 | ecm_qt_declare_logging_category(kitemmodels_SRCS HEADER kitemmodels_debug.h IDENTIFIER KITEMMODELS_LOG CATEGORY_NAME kf5.kitemmodels) | ||
17 | 18 | | |||
18 | add_library(KF5ItemModels ${kitemmodels_SRCS}) | 19 | add_library(KF5ItemModels ${kitemmodels_SRCS}) | ||
19 | add_library(KF5::ItemModels ALIAS KF5ItemModels) | 20 | add_library(KF5::ItemModels ALIAS KF5ItemModels) | ||
20 | ecm_generate_export_header(KF5ItemModels | 21 | ecm_generate_export_header(KF5ItemModels | ||
21 | BASE_NAME KItemModels | 22 | BASE_NAME KItemModels | ||
Show All 26 Lines | 44 | ecm_generate_headers(KItemModels_HEADERS | |||
48 | KExtraColumnsProxyModel | 49 | KExtraColumnsProxyModel | ||
49 | KLinkItemSelectionModel | 50 | KLinkItemSelectionModel | ||
50 | KRearrangeColumnsProxyModel | 51 | KRearrangeColumnsProxyModel | ||
51 | KRecursiveFilterProxyModel | 52 | KRecursiveFilterProxyModel | ||
52 | KDescendantsProxyModel | 53 | KDescendantsProxyModel | ||
53 | KModelIndexProxyMapper | 54 | KModelIndexProxyMapper | ||
54 | KSelectionProxyModel | 55 | KSelectionProxyModel | ||
55 | KNumberModel | 56 | KNumberModel | ||
57 | KColumnHeadersModel | ||||
56 | REQUIRED_HEADERS KItemModels_HEADERS | 58 | REQUIRED_HEADERS KItemModels_HEADERS | ||
57 | ) | 59 | ) | ||
58 | 60 | | |||
59 | find_package(PythonModuleGeneration) | 61 | find_package(PythonModuleGeneration) | ||
60 | 62 | | |||
61 | if (PythonModuleGeneration_FOUND) | 63 | if (PythonModuleGeneration_FOUND) | ||
62 | ecm_generate_python_binding( | 64 | ecm_generate_python_binding( | ||
63 | TARGET KF5::ItemModels | 65 | TARGET KF5::ItemModels | ||
64 | PYTHONNAMESPACE PyKF5 | 66 | PYTHONNAMESPACE PyKF5 | ||
65 | MODULENAME KItemModels | 67 | MODULENAME KItemModels | ||
66 | SIP_DEPENDS | 68 | SIP_DEPENDS | ||
67 | QtCore/QtCoremod.sip | 69 | QtCore/QtCoremod.sip | ||
68 | HEADERS | 70 | HEADERS | ||
69 | kbreadcrumbselectionmodel.h | 71 | kbreadcrumbselectionmodel.h | ||
70 | kconcatenaterowsproxymodel.h | 72 | kconcatenaterowsproxymodel.h | ||
71 | kcheckableproxymodel.h | 73 | kcheckableproxymodel.h | ||
72 | kextracolumnsproxymodel.h | 74 | kextracolumnsproxymodel.h | ||
73 | klinkitemselectionmodel.h | 75 | klinkitemselectionmodel.h | ||
74 | krearrangecolumnsproxymodel.h | 76 | krearrangecolumnsproxymodel.h | ||
75 | krecursivefilterproxymodel.h | 77 | krecursivefilterproxymodel.h | ||
76 | kdescendantsproxymodel.h | 78 | kdescendantsproxymodel.h | ||
77 | kmodelindexproxymapper.h | 79 | kmodelindexproxymapper.h | ||
78 | kselectionproxymodel.h | 80 | kselectionproxymodel.h | ||
81 | kcolumnheadersmodel.h | ||||
79 | ) | 82 | ) | ||
80 | endif() | 83 | endif() | ||
81 | 84 | | |||
82 | install(TARGETS KF5ItemModels EXPORT KF5ItemModelsTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 85 | install(TARGETS KF5ItemModels EXPORT KF5ItemModelsTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
83 | 86 | | |||
84 | install(FILES | 87 | install(FILES | ||
85 | ${CMAKE_CURRENT_BINARY_DIR}/kitemmodels_export.h | 88 | ${CMAKE_CURRENT_BINARY_DIR}/kitemmodels_export.h | ||
86 | ${KItemModels_HEADERS} | 89 | ${KItemModels_HEADERS} | ||
Show All 30 Lines |