2014-11-13 01:04:59 +02:00
|
|
|
project(kutils)
|
2015-11-02 19:10:29 +02:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${KDE4_KDEUI_INCLUDES}
|
|
|
|
${KDE4_KPARTS_INCLUDES}
|
2022-03-08 00:41:39 +02:00
|
|
|
# keep it, required by kidletime and others
|
2016-03-28 04:10:43 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
2015-11-02 19:10:29 +02:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2016-03-14 21:37:05 +00:00
|
|
|
add_subdirectory(kmediaplayer)
|
2021-08-01 16:13:39 +03:00
|
|
|
add_subdirectory(kexiv2)
|
2022-04-04 19:44:39 +03:00
|
|
|
add_subdirectory(kpasswdstore)
|
2022-04-19 08:28:11 +03:00
|
|
|
add_subdirectory(kpowermanager)
|
2022-05-05 16:35:55 +03:00
|
|
|
add_subdirectory(kdnssd)
|
2022-10-06 15:50:40 +03:00
|
|
|
add_subdirectory(karchive)
|
2022-10-15 01:16:11 +03:00
|
|
|
add_subdirectory(kemail)
|
2023-07-08 07:46:19 +03:00
|
|
|
add_subdirectory(knetworkmanager)
|
2023-08-05 21:34:06 +03:00
|
|
|
add_subdirectory(kidletime)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
########### kcmutils ###############
|
2015-11-02 19:10:29 +02:00
|
|
|
|
2014-11-13 01:04:59 +02:00
|
|
|
set(kcmutils_LIB_SRCS
|
|
|
|
kcmoduleinfo.cpp
|
|
|
|
kcmoduleloader.cpp
|
|
|
|
kcmultidialog.cpp
|
|
|
|
kcmoduleproxy.cpp
|
|
|
|
kpluginselector.cpp
|
|
|
|
kcmodulecontainer.cpp
|
|
|
|
ksettingswidgetadaptor.cpp
|
|
|
|
)
|
|
|
|
|
2023-06-10 23:05:53 +03:00
|
|
|
add_library(kcmutils SHARED ${kcmutils_LIB_SRCS})
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2020-02-09 21:45:50 +00:00
|
|
|
target_link_libraries(kcmutils PUBLIC
|
2015-11-02 19:10:29 +02:00
|
|
|
${QT_QTGUI_LIBRARY}
|
2023-06-17 20:25:52 +03:00
|
|
|
kdecore
|
|
|
|
kdeui
|
2015-11-02 19:10:29 +02:00
|
|
|
)
|
|
|
|
|
2014-11-13 01:04:59 +02:00
|
|
|
set_target_properties(kcmutils PROPERTIES
|
2015-11-02 19:10:29 +02:00
|
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2016-04-27 21:48:43 +00:00
|
|
|
generate_export_header(kcmutils)
|
|
|
|
|
2015-11-02 19:10:29 +02:00
|
|
|
install(
|
|
|
|
FILES
|
2016-04-27 21:48:43 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/kcmutils_export.h
|
2015-08-28 04:26:19 +03:00
|
|
|
kcmoduleinfo.h
|
|
|
|
kcmoduleloader.h
|
|
|
|
kcmultidialog.h
|
|
|
|
kcmoduleproxy.h
|
|
|
|
kpluginselector.h
|
|
|
|
kcmodulecontainer.h
|
2021-02-26 20:15:41 +02:00
|
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
2015-11-02 19:10:29 +02:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2015-11-02 19:10:29 +02:00
|
|
|
install(
|
|
|
|
TARGETS kcmutils
|
2023-06-17 23:57:38 +03:00
|
|
|
EXPORT kdelibsTargets
|
2023-06-17 09:11:52 +03:00
|
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
2015-11-02 19:10:29 +02:00
|
|
|
)
|