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 | krearrangecolumnsproxymodel.cpp | 10 | krearrangecolumnsproxymodel.cpp | ||
11 | krecursivefilterproxymodel.cpp | 11 | krecursivefilterproxymodel.cpp | ||
12 | kselectionproxymodel.cpp | 12 | kselectionproxymodel.cpp | ||
13 | kcolumnheadersproxymodel.cpp | ||||
13 | ) | 14 | ) | ||
14 | 15 | | |||
15 | ecm_qt_declare_logging_category(kitemmodels_SRCS HEADER kitemmodels_debug.h IDENTIFIER KITEMMODELS_LOG CATEGORY_NAME kf5.kitemmodels) | 16 | ecm_qt_declare_logging_category(kitemmodels_SRCS HEADER kitemmodels_debug.h IDENTIFIER KITEMMODELS_LOG CATEGORY_NAME kf5.kitemmodels) | ||
16 | 17 | | |||
17 | add_library(KF5ItemModels ${kitemmodels_SRCS}) | 18 | add_library(KF5ItemModels ${kitemmodels_SRCS}) | ||
18 | add_library(KF5::ItemModels ALIAS KF5ItemModels) | 19 | add_library(KF5::ItemModels ALIAS KF5ItemModels) | ||
19 | ecm_generate_export_header(KF5ItemModels | 20 | ecm_generate_export_header(KF5ItemModels | ||
20 | BASE_NAME KItemModels | 21 | BASE_NAME KItemModels | ||
Show All 25 Lines | 43 | ecm_generate_headers(KItemModels_HEADERS | |||
46 | KCheckableProxyModel | 47 | KCheckableProxyModel | ||
47 | KExtraColumnsProxyModel | 48 | KExtraColumnsProxyModel | ||
48 | KLinkItemSelectionModel | 49 | KLinkItemSelectionModel | ||
49 | KRearrangeColumnsProxyModel | 50 | KRearrangeColumnsProxyModel | ||
50 | KRecursiveFilterProxyModel | 51 | KRecursiveFilterProxyModel | ||
51 | KDescendantsProxyModel | 52 | KDescendantsProxyModel | ||
52 | KModelIndexProxyMapper | 53 | KModelIndexProxyMapper | ||
53 | KSelectionProxyModel | 54 | KSelectionProxyModel | ||
55 | KColumnHeadersProxyModel | ||||
54 | 56 | | |||
55 | REQUIRED_HEADERS KItemModels_HEADERS | 57 | REQUIRED_HEADERS KItemModels_HEADERS | ||
56 | ) | 58 | ) | ||
57 | 59 | | |||
58 | find_package(PythonModuleGeneration) | 60 | find_package(PythonModuleGeneration) | ||
59 | 61 | | |||
60 | if (PythonModuleGeneration_FOUND) | 62 | if (PythonModuleGeneration_FOUND) | ||
61 | ecm_generate_python_binding( | 63 | ecm_generate_python_binding( | ||
62 | TARGET KF5::ItemModels | 64 | TARGET KF5::ItemModels | ||
63 | PYTHONNAMESPACE PyKF5 | 65 | PYTHONNAMESPACE PyKF5 | ||
64 | MODULENAME KItemModels | 66 | MODULENAME KItemModels | ||
65 | SIP_DEPENDS | 67 | SIP_DEPENDS | ||
66 | QtCore/QtCoremod.sip | 68 | QtCore/QtCoremod.sip | ||
67 | HEADERS | 69 | HEADERS | ||
68 | kbreadcrumbselectionmodel.h | 70 | kbreadcrumbselectionmodel.h | ||
69 | kconcatenaterowsproxymodel.h | 71 | kconcatenaterowsproxymodel.h | ||
70 | kcheckableproxymodel.h | 72 | kcheckableproxymodel.h | ||
71 | kextracolumnsproxymodel.h | 73 | kextracolumnsproxymodel.h | ||
72 | klinkitemselectionmodel.h | 74 | klinkitemselectionmodel.h | ||
73 | krearrangecolumnsproxymodel.h | 75 | krearrangecolumnsproxymodel.h | ||
74 | krecursivefilterproxymodel.h | 76 | krecursivefilterproxymodel.h | ||
75 | kdescendantsproxymodel.h | 77 | kdescendantsproxymodel.h | ||
76 | kmodelindexproxymapper.h | 78 | kmodelindexproxymapper.h | ||
77 | kselectionproxymodel.h | 79 | kselectionproxymodel.h | ||
80 | kcolumnheadersproxymodel.h | ||||
78 | ) | 81 | ) | ||
79 | endif() | 82 | endif() | ||
80 | 83 | | |||
81 | install(TARGETS KF5ItemModels EXPORT KF5ItemModelsTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 84 | install(TARGETS KF5ItemModels EXPORT KF5ItemModelsTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
82 | 85 | | |||
83 | install(FILES | 86 | install(FILES | ||
84 | ${CMAKE_CURRENT_BINARY_DIR}/kitemmodels_export.h | 87 | ${CMAKE_CURRENT_BINARY_DIR}/kitemmodels_export.h | ||
85 | ${KItemModels_HEADERS} | 88 | ${KItemModels_HEADERS} | ||
Show All 30 Lines |