Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 21 Lines | 15 | set(libkauth_core_SRCS | |||
---|---|---|---|---|---|
22 | kauthhelpersupport.cpp | 22 | kauthhelpersupport.cpp | ||
23 | ${kauthdebug_SRCS} | 23 | ${kauthdebug_SRCS} | ||
24 | backends/fake/FakeBackend.cpp | 24 | backends/fake/FakeBackend.cpp | ||
25 | backends/fakehelper/FakeHelperProxy.cpp | 25 | backends/fakehelper/FakeHelperProxy.cpp | ||
26 | ${KAuth_QM_LOADER} | 26 | ${KAuth_QM_LOADER} | ||
27 | ) | 27 | ) | ||
28 | 28 | | |||
29 | add_library(KF5AuthCore ${libkauth_core_SRCS}) | 29 | add_library(KF5AuthCore ${libkauth_core_SRCS}) | ||
30 | generate_export_header(KF5AuthCore BASE_NAME KAuthCore) | ||||
30 | target_link_libraries(KF5AuthCore PUBLIC Qt5::Core KF5::CoreAddons) # for KJob | 31 | target_link_libraries(KF5AuthCore PUBLIC Qt5::Core KF5::CoreAddons) # for KJob | ||
31 | target_link_libraries(KF5AuthCore PRIVATE Qt5::DBus) | 32 | target_link_libraries(KF5AuthCore PRIVATE Qt5::DBus) | ||
32 | target_include_directories(KF5AuthCore INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KAuth>") | 33 | target_include_directories(KF5AuthCore INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KAuth>") | ||
33 | install(TARGETS KF5AuthCore EXPORT KF5AuthTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 34 | install(TARGETS KF5AuthCore EXPORT KF5AuthTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
34 | set_target_properties(KF5AuthCore PROPERTIES VERSION ${KAUTH_VERSION_STRING} | 35 | set_target_properties(KF5AuthCore PROPERTIES VERSION ${KAUTH_VERSION_STRING} | ||
35 | SOVERSION ${KAUTH_SOVERSION} | 36 | SOVERSION ${KAUTH_SOVERSION} | ||
36 | EXPORT_NAME AuthCore) | 37 | EXPORT_NAME AuthCore) | ||
37 | 38 | | |||
Show All 25 Lines | 57 | ecm_generate_headers(KAuth_HEADERS | |||
63 | KAuthObjectDecorator | 64 | KAuthObjectDecorator | ||
64 | 65 | | |||
65 | REQUIRED_HEADERS KAuth_HEADERS | 66 | REQUIRED_HEADERS KAuth_HEADERS | ||
66 | ) | 67 | ) | ||
67 | 68 | | |||
68 | install(TARGETS KF5Auth EXPORT KF5AuthTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 69 | install(TARGETS KF5Auth EXPORT KF5AuthTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
69 | install(FILES | 70 | install(FILES | ||
70 | ${CMAKE_CURRENT_BINARY_DIR}/kauth_export.h | 71 | ${CMAKE_CURRENT_BINARY_DIR}/kauth_export.h | ||
72 | ${CMAKE_CURRENT_BINARY_DIR}/kauthcore_export.h | ||||
71 | ${KAuth_HEADERS} | 73 | ${KAuth_HEADERS} | ||
72 | DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KAuth COMPONENT Devel | 74 | DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KAuth COMPONENT Devel | ||
73 | ) | 75 | ) | ||
74 | endif() | 76 | endif() | ||
75 | 77 | | |||
76 | find_package(PythonModuleGeneration) | 78 | find_package(PythonModuleGeneration) | ||
77 | 79 | | |||
78 | if (PythonModuleGeneration_FOUND) | 80 | if (PythonModuleGeneration_FOUND) | ||
▲ Show 20 Lines • Show All 74 Lines • ▼ Show 20 Line(s) | 150 | ecm_add_qch( | |||
153 | ORG_DOMAIN org.kde | 155 | ORG_DOMAIN org.kde | ||
154 | SOURCES # using only public headers, to cover only public API | 156 | SOURCES # using only public headers, to cover only public API | ||
155 | ${KAuth_HEADERS} | 157 | ${KAuth_HEADERS} | ||
156 | MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md" | 158 | MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md" | ||
157 | LINK_QCHS | 159 | LINK_QCHS | ||
158 | Qt5Core_QCH | 160 | Qt5Core_QCH | ||
159 | KF5CoreAddons_QCH | 161 | KF5CoreAddons_QCH | ||
160 | BLANK_MACROS | 162 | BLANK_MACROS | ||
163 | KAUTHCORE_EXPORT | ||||
161 | KAUTH_EXPORT | 164 | KAUTH_EXPORT | ||
162 | KAUTH_DEPRECATED | 165 | KAUTH_DEPRECATED | ||
163 | KAUTH_DEPRECATED_EXPORT | 166 | KAUTH_DEPRECATED_EXPORT | ||
164 | TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} | 167 | TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} | ||
165 | QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} | 168 | QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} | ||
166 | COMPONENT Devel | 169 | COMPONENT Devel | ||
167 | ) | 170 | ) | ||
168 | endif() | 171 | endif() | ||
Show All 11 Lines |