2015-10-31 13:36:29 +02:00
|
|
|
project(kde-workspace)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2014-11-15 04:16:00 +02:00
|
|
|
include(CheckIncludeFiles)
|
|
|
|
include(CheckFunctionExists)
|
2016-09-01 04:09:09 +00:00
|
|
|
include(GenerateExportHeader)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-05-12 16:35:39 +03:00
|
|
|
find_package(KDE4 4.22.0 REQUIRED)
|
2014-11-13 19:30:51 +02:00
|
|
|
include(KDE4Defaults)
|
|
|
|
|
2022-05-14 21:28:45 +03:00
|
|
|
set(LIBRARY_TYPE SHARED)
|
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
find_package(ZLIB)
|
2015-11-06 16:19:11 +02:00
|
|
|
set_package_properties(ZLIB PROPERTIES
|
|
|
|
DESCRIPTION "Support for gzip compressed files and data streams"
|
|
|
|
URL "http://www.zlib.net"
|
|
|
|
TYPE REQUIRED
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
find_package(PNG)
|
|
|
|
set_package_properties(PNG PROPERTIES
|
|
|
|
DESCRIPTION "An Open, Extensible Image Format with Lossless Compression"
|
|
|
|
URL "http://www.libpng.org/"
|
|
|
|
TYPE REQUIRED
|
2015-11-06 16:19:11 +02:00
|
|
|
)
|
|
|
|
|
2021-06-16 10:04:04 +03:00
|
|
|
# shared-mime-info 0.40 is mandatory for generic-icon, kdelibs requires 0.70 anyway
|
|
|
|
find_package(SharedMimeInfo 0.70)
|
2021-04-25 00:06:05 +03:00
|
|
|
set_package_properties(SharedMimeInfo PROPERTIES
|
2021-03-28 14:27:33 +03:00
|
|
|
DESCRIPTION "Shared Mime Info"
|
|
|
|
URL "http://freedesktop.org/wiki/Software/shared-mime-info"
|
|
|
|
PURPOSE "Needed for update MIME database"
|
|
|
|
TYPE REQUIRED
|
|
|
|
)
|
|
|
|
|
2022-05-14 21:28:45 +03:00
|
|
|
find_package(Sudo)
|
|
|
|
set_package_properties(Sudo PROPERTIES
|
|
|
|
DESCRIPTION "Sudo allows a system administrator to delegate authority to give certain users"
|
|
|
|
URL "https://www.sudo.ws/"
|
|
|
|
TYPE RUNTIME
|
|
|
|
PURPOSE "Needed for kdesudo to operate"
|
|
|
|
)
|
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
if(Q_WS_X11)
|
2015-11-06 16:19:11 +02:00
|
|
|
find_package(XCB REQUIRED)
|
|
|
|
set_package_properties(XCB PROPERTIES
|
|
|
|
DESCRIPTION "X protocol C-language Binding"
|
|
|
|
URL "http://xcb.freedesktop.org"
|
|
|
|
TYPE REQUIRED
|
|
|
|
)
|
|
|
|
|
|
|
|
find_package(X11_XCB)
|
|
|
|
set_package_properties(X11_XCB
|
|
|
|
PROPERTIES DESCRIPTION "XCB X11 protocol client library"
|
|
|
|
TYPE REQUIRED
|
|
|
|
)
|
|
|
|
|
2016-08-12 03:08:40 +00:00
|
|
|
find_package(X11)
|
2015-11-06 16:19:11 +02:00
|
|
|
set_package_properties(X11 PROPERTIES
|
|
|
|
DESCRIPTION "X11 libraries"
|
|
|
|
URL "http://www.x.org"
|
|
|
|
TYPE REQUIRED
|
|
|
|
)
|
|
|
|
|
2021-03-02 22:08:04 +02:00
|
|
|
add_feature_info("libXTest" X11_XTest_FOUND "The X11 Testing Resource extension library is useful for automated testing of X clients")
|
|
|
|
add_feature_info("libXcomposite" X11_Xcomposite_FOUND "The X11 Composite extension library may be used by Plasma and KWin")
|
|
|
|
add_feature_info("libXShm" X11_XShm_FOUND "The X11 shared-memory fences library may be used by ksplash")
|
|
|
|
add_feature_info("libxf86misc" X11_xf86misc_FOUND "The X11 miscellaneous library may be used by keyboard KCM") # TODO: unused?
|
|
|
|
add_feature_info("libXSync" X11_XSync_FOUND "The X11 synchronization may be used by KWin")
|
|
|
|
add_feature_info("libXinput" X11_Xinput_FOUND "The X11 XINPUT extension library may be used by keyboard KCM")
|
|
|
|
add_feature_info("libXft" X11_Xft_FOUND "The X11 font API library may be used by kfontinst KCM")
|
|
|
|
add_feature_info("libXinerama" X11_Xinerama_FOUND "The X11 XINERAMA extension library may be used by ksplash")
|
|
|
|
add_feature_info("libXRes" X11_XRes_FOUND "The X Resource library may be used by ksysguard")
|
2015-11-06 16:19:11 +02:00
|
|
|
|
2022-04-01 16:31:45 +03:00
|
|
|
if(NOT X11_Xau_FOUND)
|
|
|
|
message(FATAL_ERROR "The X11 authorization extension library was not found. Required for authorization in kworkspace library")
|
|
|
|
endif()
|
2015-11-06 16:19:11 +02:00
|
|
|
if(NOT X11_Xdamage_FOUND)
|
2021-07-14 22:05:06 +03:00
|
|
|
message(FATAL_ERROR "The X11 damaged region extension library was not found. Required for compositing support in KWin")
|
2015-11-06 16:19:11 +02:00
|
|
|
endif()
|
|
|
|
if(NOT X11_Xrender_FOUND)
|
2022-04-01 16:31:45 +03:00
|
|
|
message(FATAL_ERROR " The X Rendering extension client library was not found. Required for XRender Compositing backend in KWin")
|
2015-11-06 16:19:11 +02:00
|
|
|
endif()
|
|
|
|
if(NOT X11_Xfixes_FOUND)
|
2021-07-14 22:05:06 +03:00
|
|
|
message(FATAL_ERROR "The X11 miscellaneous 'fixes' extension library was not found. Required for XRender Compositing backend in KWin")
|
2015-11-06 16:19:11 +02:00
|
|
|
endif()
|
|
|
|
if(NOT X11_Xrandr_FOUND)
|
2021-07-14 22:05:06 +03:00
|
|
|
message(FATAL_ERROR "The X11 RandR extension library was not found. Required for Multi Screen Support")
|
2015-11-06 16:19:11 +02:00
|
|
|
endif()
|
|
|
|
if(NOT X11_Xcursor_FOUND)
|
2021-07-14 22:05:06 +03:00
|
|
|
message(FATAL_ERROR "The X11 cursor management library was not found. Required for desktop effects support in KWin")
|
2015-11-06 16:19:11 +02:00
|
|
|
endif()
|
2014-11-13 19:30:51 +02:00
|
|
|
endif(Q_WS_X11)
|
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
macro_optional_find_package(DBusMenuQt 0.6.0)
|
|
|
|
set_package_properties(DBusMenuQt PROPERTIES
|
|
|
|
DESCRIPTION "Support for notification area menus via the DBusMenu protocol"
|
|
|
|
URL "https://launchpad.net/libdbusmenu-qt"
|
|
|
|
TYPE RECOMMENDED
|
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(OpenGL)
|
|
|
|
set_package_properties(OpenGL PROPERTIES
|
|
|
|
DESCRIPTION "The OpenGL libraries"
|
|
|
|
URL "http://www.opengl.org"
|
2022-04-12 22:07:48 +03:00
|
|
|
PURPOSE "OpenGL info module"
|
2021-03-26 21:40:56 +02:00
|
|
|
TYPE OPTIONAL
|
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(LibDRM)
|
|
|
|
set_package_properties(LibDRM PROPERTIES
|
|
|
|
DESCRIPTION "Userspace interface to kernel DRM services"
|
|
|
|
URL "https://dri.freedesktop.org/wiki/"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "OpenGL info module"
|
|
|
|
)
|
|
|
|
|
2020-02-24 19:41:26 +00:00
|
|
|
macro_optional_find_package(Freetype)
|
|
|
|
set_package_properties(Freetype PROPERTIES
|
|
|
|
DESCRIPTION "Freely available software library to render fonts"
|
|
|
|
URL "https://www.freetype.org"
|
|
|
|
PURPOSE "Needed to build font configuration and installation tools"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
)
|
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
macro_optional_find_package(Fontconfig)
|
2015-11-06 16:19:11 +02:00
|
|
|
set_package_properties(Fontconfig PROPERTIES
|
|
|
|
DESCRIPTION "Font access configuration library"
|
|
|
|
URL "http://www.freedesktop.org/wiki/Software/fontconfig"
|
|
|
|
PURPOSE "Needed to build font configuration and installation tools"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
macro_optional_find_package(LibUSB)
|
|
|
|
set_package_properties(LibUSB PROPERTIES
|
|
|
|
DESCRIPTION "User level access to USB devices"
|
2022-04-27 10:46:45 +03:00
|
|
|
URL "https://libusb.info/"
|
2021-03-26 21:40:56 +02:00
|
|
|
TYPE OPTIONAL
|
2022-04-27 10:46:45 +03:00
|
|
|
PURPOSE "Provides Logitech mouse support in KControl and USB devices information"
|
2021-03-26 21:40:56 +02:00
|
|
|
)
|
|
|
|
|
2022-05-01 14:18:39 +03:00
|
|
|
macro_optional_find_package(Kmod)
|
|
|
|
set_package_properties(Kmod PROPERTIES
|
|
|
|
DESCRIPTION "Set of tools to handle common tasks with Linux kernel modules"
|
|
|
|
URL "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Kernel modules information"
|
|
|
|
)
|
2021-03-26 21:40:56 +02:00
|
|
|
macro_optional_find_package(PCIUTILS)
|
|
|
|
set_package_properties(PCIUTILS PROPERTIES
|
|
|
|
DESCRIPTION "PciUtils is a library for direct access to PCI slots"
|
|
|
|
URL "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
|
|
|
|
TYPE OPTIONAL
|
2021-07-14 22:05:06 +03:00
|
|
|
PURPOSE "View PCI details in kinfocenter"
|
2021-03-26 21:40:56 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(RAW1394)
|
|
|
|
set_package_properties(RAW1394 PROPERTIES
|
|
|
|
DESCRIPTION "library for direct access to IEEE 1394 bus"
|
|
|
|
URL "http://www.linux1394.org/"
|
|
|
|
TYPE OPTIONAL
|
2021-07-14 22:05:06 +03:00
|
|
|
PURPOSE "View FireWire devices in kinfocenter"
|
2021-03-26 21:40:56 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
# we need a version of samba which has already smbc_set_context(), Alex
|
|
|
|
set(SAMBA_REQUIRE_SMBC_SET_CONTEXT TRUE)
|
|
|
|
set(SAMBA_REQUIRE_SMBC_OPTION_SET TRUE)
|
|
|
|
macro_optional_find_package(Samba)
|
|
|
|
set_package_properties(Samba PROPERTIES
|
|
|
|
DESCRIPTION "the SMB client library, a version with smbc_set_context() and smbc_option_set()"
|
|
|
|
URL "http://www.samba.org"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Needed to build the SMB kioslave"
|
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(LibSSH 0.6.0)
|
|
|
|
set_package_properties(LibSSH PROPERTIES
|
|
|
|
DESCRIPTION "the SSH library with SFTP support"
|
|
|
|
URL "http://www.libssh.org/"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Needed to build the SFTP kioslave"
|
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(Mtp 1.1.2)
|
|
|
|
set_package_properties(Mtp PROPERTIES
|
|
|
|
DESCRIPTION "the library implementation of the Media Transfer Protocol"
|
|
|
|
URL "http://libmtp.sourceforge.net/"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Needed to build the MTP kioslave"
|
|
|
|
)
|
|
|
|
|
2021-07-14 22:05:06 +03:00
|
|
|
macro_optional_find_package(Gphoto2 2.5)
|
|
|
|
set_package_properties(Gphoto2 PROPERTIES
|
|
|
|
DESCRIPTION "Free, redistributable, ready to use set of digital camera software applications"
|
|
|
|
URL "http://www.gphoto.org/"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Needed to build camera kioslave"
|
|
|
|
)
|
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
macro_optional_find_package(BZip2)
|
|
|
|
set_package_properties(BZip2 PROPERTIES
|
|
|
|
DESCRIPTION "A high-quality data compressor"
|
|
|
|
URL "http://www.bzip.org"
|
|
|
|
TYPE OPTIONAL
|
2021-07-14 22:05:06 +03:00
|
|
|
PURPOSE "Provides the ability to read and write bzip2 compressed data files in the filter kioslaves"
|
2021-03-26 21:40:56 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(LibLZMA)
|
|
|
|
set_package_properties(LibLZMA PROPERTIES
|
|
|
|
DESCRIPTION "A very high compression ratio data compressor"
|
|
|
|
URL "http://tukaani.org/xz/"
|
|
|
|
TYPE OPTIONAL
|
2021-07-14 22:05:06 +03:00
|
|
|
PURPOSE "Provides the ability to read and write xz compressed data files"
|
2021-03-26 21:40:56 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(OpenEXR)
|
|
|
|
set_package_properties(OpenEXR PROPERTIES
|
|
|
|
DESCRIPTION "API for accessing OpenEXR formatted images"
|
|
|
|
URL "http://www.openexr.com"
|
|
|
|
PURPOSE "Provides support for OpenEXR formatted images in the thumbnail kioslave"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(Sensors)
|
|
|
|
set_package_properties(Sensors PROPERTIES
|
|
|
|
DESCRIPTION "Linux hardware monitoring"
|
|
|
|
URL "https://hwmon.wiki.kernel.org/lm_sensors"
|
|
|
|
PURPOSE "Sensors feedback in ksysguard"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(Qalculate)
|
|
|
|
set_package_properties(Qalculate PROPERTIES
|
|
|
|
DESCRIPTION "Qalculate Library"
|
|
|
|
URL "http://qalculate.sourceforge.net"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Needed to enable advanced features of the calculator runner"
|
|
|
|
)
|
|
|
|
|
2022-04-01 16:31:45 +03:00
|
|
|
macro_optional_find_package(LightDM)
|
|
|
|
set_package_properties(LightDM PROPERTIES
|
|
|
|
DESCRIPTION "Cross-desktop display manager"
|
|
|
|
URL "https://github.com/canonical/lightdm"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Needed for the LightDM greeter"
|
|
|
|
)
|
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
find_program(WRESTOOL_EXECUTABLE wrestool)
|
|
|
|
add_feature_info(wrestool
|
|
|
|
WRESTOOL_EXECUTABLE
|
|
|
|
"ICO thumbnails support in KIO slave"
|
|
|
|
)
|
|
|
|
|
|
|
|
find_program(MTOOLS_EXECUTABLES NAMES mdir mmd mdel mrd mren mcopy)
|
|
|
|
add_feature_info(mtools
|
|
|
|
MTOOLS_EXECUTABLES
|
|
|
|
"KIO floppy support"
|
|
|
|
)
|
|
|
|
|
2022-04-10 18:37:27 +03:00
|
|
|
find_program(QRENCODE_EXECUTABLE qrencode)
|
|
|
|
add_feature_info(qrencode
|
|
|
|
QRENCODE_EXECUTABLE
|
|
|
|
"QR Code support in klipper"
|
|
|
|
)
|
|
|
|
|
2022-04-12 22:07:48 +03:00
|
|
|
find_program(XSCREENSAVER_EXECUTABLE xscreensaver)
|
|
|
|
add_feature_info(xscreensaver
|
|
|
|
XSCREENSAVER_EXECUTABLE
|
|
|
|
"Screen saver and screen locking support"
|
|
|
|
)
|
|
|
|
|
2022-04-15 20:08:35 +03:00
|
|
|
find_program(GDB_OR_LLDB_EXECUTABLE NAMES gdb lldb)
|
|
|
|
add_feature_info(gdb_or_lldb
|
|
|
|
GDB_OR_LLDB_EXECUTABLE
|
|
|
|
"Backtraces support"
|
|
|
|
)
|
|
|
|
|
2022-05-14 21:28:45 +03:00
|
|
|
find_program(CTAGS_EXECUTABLE ctags ctags-universal ctags-exuberant exctags uctags)
|
|
|
|
add_feature_info(ctags
|
|
|
|
CTAGS_EXECUTABLE
|
|
|
|
"Code indexing support in Kate"
|
|
|
|
)
|
|
|
|
|
|
|
|
find_program(CPPCHECK_EXECUTABLE cppcheck)
|
|
|
|
add_feature_info(cppcheck
|
|
|
|
CPPCHECK_EXECUTABLE
|
|
|
|
"Code analysis support in Kate"
|
|
|
|
)
|
|
|
|
|
|
|
|
find_program(RZSZ_EXECUTABLE NAMES rz lrz)
|
|
|
|
add_feature_info(rzsz
|
|
|
|
RZSZ_EXECUTABLE
|
|
|
|
"ZModem support in Konsole"
|
|
|
|
)
|
|
|
|
|
|
|
|
find_program(LOCALE_EXECUTABLE NAMES locate)
|
|
|
|
add_feature_info(locate
|
|
|
|
LOCALE_EXECUTABLE
|
|
|
|
"Search indexing support in KFind"
|
|
|
|
)
|
|
|
|
|
2014-11-15 04:16:00 +02:00
|
|
|
check_include_files(sys/wait.h HAVE_SYS_WAIT_H)
|
|
|
|
check_include_files(sys/time.h HAVE_SYS_TIME_H)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
include(ConfigureChecks.cmake)
|
2016-04-25 15:49:47 +00:00
|
|
|
configure_file(config-unix.h.cmake ${CMAKE_BINARY_DIR}/config-unix.h )
|
|
|
|
configure_file(config-X11.h.cmake ${CMAKE_BINARY_DIR}/config-X11.h )
|
2014-11-15 05:21:19 +02:00
|
|
|
if(NOT CMAKE_INSTALL_PREFIX STREQUAL "/usr")
|
|
|
|
set(EXPORT_XCURSOR_PATH "XCURSOR_PATH=${CMAKE_INSTALL_PREFIX}/share/icons:$XCURSOR_PATH\":~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons\"; export XCURSOR_PATH")
|
|
|
|
endif(NOT CMAKE_INSTALL_PREFIX STREQUAL "/usr")
|
2016-04-25 15:49:47 +00:00
|
|
|
configure_file(startkde.cmake ${CMAKE_BINARY_DIR}/startkde @ONLY)
|
|
|
|
configure_file(config-workspace.h.cmake ${CMAKE_BINARY_DIR}/config-workspace.h )
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2016-04-25 15:49:47 +00:00
|
|
|
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${CMAKE_SOURCE_DIR}/libs)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
# libs
|
|
|
|
add_subdirectory(libs)
|
2014-11-18 01:17:22 +00:00
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(systemsettings)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
# core apps
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(kwin)
|
|
|
|
add_subdirectory(ksmserver)
|
2022-04-12 22:07:48 +03:00
|
|
|
add_subdirectory(kscreensaver)
|
2021-03-26 21:40:56 +02:00
|
|
|
|
|
|
|
add_subdirectory(ksplash)
|
|
|
|
|
|
|
|
add_subdirectory(qguiplatformplugin_kde)
|
|
|
|
add_subdirectory(ksysguard)
|
|
|
|
|
|
|
|
add_subdirectory(kcontrol)
|
|
|
|
add_subdirectory(klipper)
|
|
|
|
add_subdirectory(kmenuedit)
|
|
|
|
add_subdirectory(krunner)
|
|
|
|
add_subdirectory(kstartupconfig)
|
|
|
|
add_subdirectory(freespacenotifier)
|
|
|
|
add_subdirectory(kinfocenter)
|
2014-11-18 01:17:22 +00:00
|
|
|
|
2016-09-16 23:59:39 +00:00
|
|
|
if(Q_WS_X11 AND X11_Xinput_FOUND)
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(ktouchpadenabler)
|
2016-09-16 23:59:39 +00:00
|
|
|
endif(Q_WS_X11 AND X11_Xinput_FOUND)
|
2014-11-18 01:17:22 +00:00
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(kcminit)
|
|
|
|
add_subdirectory(khotkeys)
|
|
|
|
add_subdirectory(ksystraycmd)
|
2014-11-18 01:17:22 +00:00
|
|
|
|
2022-04-01 16:31:45 +03:00
|
|
|
if (LightDM_FOUND)
|
|
|
|
add_subdirectory(kgreeter)
|
|
|
|
endif(LightDM_FOUND)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2014-11-15 05:21:19 +02:00
|
|
|
# data
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(cursors)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(plasma)
|
|
|
|
add_subdirectory(statusnotifierwatcher)
|
|
|
|
add_subdirectory(kstyles)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2014-11-19 01:07:40 +00:00
|
|
|
# imported from kde-runtime and other sub-projects
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(menu)
|
|
|
|
add_subdirectory(knotify)
|
|
|
|
add_subdirectory(kuiserver)
|
|
|
|
add_subdirectory(soliduiserver)
|
|
|
|
add_subdirectory(solidautoeject)
|
2021-07-12 01:49:18 +03:00
|
|
|
add_subdirectory(solid-actions-kcm)
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(solid-device-automounter)
|
|
|
|
add_subdirectory(solid-networkstatus)
|
2021-07-12 01:49:18 +03:00
|
|
|
add_subdirectory(solid-hardware)
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(kcmshell)
|
|
|
|
add_subdirectory(kioslave)
|
|
|
|
add_subdirectory(kurifilter-plugins)
|
|
|
|
add_subdirectory(kquitapp)
|
2014-11-15 04:16:00 +02:00
|
|
|
if (Q_WS_X11)
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(kstart)
|
2014-11-15 04:16:00 +02:00
|
|
|
endif (Q_WS_X11)
|
2022-05-14 21:28:45 +03:00
|
|
|
# imported from kde-baseapps
|
|
|
|
add_subdirectory(dolphin)
|
|
|
|
add_subdirectory(kate)
|
|
|
|
add_subdirectory(kdepasswd)
|
|
|
|
add_subdirectory(kdesudo)
|
|
|
|
add_subdirectory(kdialog)
|
|
|
|
add_subdirectory(keditbookmarks)
|
|
|
|
add_subdirectory(kfind)
|
|
|
|
add_subdirectory(kmediaplayer)
|
|
|
|
add_subdirectory(konsole)
|
2014-11-15 04:16:00 +02:00
|
|
|
# Background processes
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(kdontchangethehostname)
|
|
|
|
add_subdirectory(kglobalaccel)
|
|
|
|
add_subdirectory(ktimezoned)
|
2014-11-15 04:16:00 +02:00
|
|
|
# Command-line tools (e.g. for shell scripts)
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(kdeeject)
|
|
|
|
add_subdirectory(kfile)
|
|
|
|
add_subdirectory(kiconfinder)
|
|
|
|
add_subdirectory(kioclient)
|
|
|
|
add_subdirectory(kioexec)
|
|
|
|
add_subdirectory(ktraderclient)
|
|
|
|
add_subdirectory(kreadconfig)
|
|
|
|
add_subdirectory(kmimetypefinder)
|
2014-11-15 04:16:00 +02:00
|
|
|
# UI Helper applications
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(drkonqi)
|
|
|
|
add_subdirectory(knetattach)
|
2022-05-09 15:35:44 +03:00
|
|
|
add_subdirectory(kdirshare)
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(keditfiletype)
|
2014-11-15 04:16:00 +02:00
|
|
|
# Default settings, content and config
|
2021-03-26 21:40:56 +02:00
|
|
|
add_subdirectory(l10n)
|
|
|
|
add_subdirectory(localization)
|
|
|
|
add_subdirectory(kde-menu)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
########### install files ###############
|
2020-02-08 19:29:32 +00:00
|
|
|
# install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/kde4 DESTINATION ${KDE4_BIN_INSTALL_DIR})
|
|
|
|
install(PROGRAMS ${CMAKE_BINARY_DIR}/startkde DESTINATION ${KDE4_BIN_INSTALL_DIR})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2015-11-02 17:58:57 +02:00
|
|
|
set(KDE4WORKSPACE_TARGET_PREFIX KDE4Workspace::)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2015-11-02 17:57:05 +02:00
|
|
|
configure_file(
|
|
|
|
KDE4WorkspaceConfig.cmake.in
|
2016-04-25 15:49:47 +00:00
|
|
|
"${CMAKE_BINARY_DIR}/KDE4WorkspaceConfig.cmake"
|
2015-11-02 17:57:05 +02:00
|
|
|
@ONLY
|
|
|
|
)
|
|
|
|
configure_file(
|
|
|
|
KDE4WorkspaceVersion.cmake.in
|
2016-04-25 15:49:47 +00:00
|
|
|
"${CMAKE_BINARY_DIR}/KDE4WorkspaceVersion.cmake"
|
2015-11-02 17:57:05 +02:00
|
|
|
@ONLY
|
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
FILES
|
2016-04-25 15:49:47 +00:00
|
|
|
${CMAKE_BINARY_DIR}/KDE4WorkspaceConfig.cmake
|
|
|
|
${CMAKE_BINARY_DIR}/KDE4WorkspaceVersion.cmake
|
2020-02-08 19:29:32 +00:00
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/cmake/modules
|
2015-11-02 17:57:05 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
EXPORT kdeworkspaceLibraryTargets
|
|
|
|
NAMESPACE ${KDE4WORKSPACE_TARGET_PREFIX}
|
2020-02-08 19:29:32 +00:00
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/cmake/modules
|
2015-11-02 17:57:05 +02:00
|
|
|
FILE KDE4WorkspaceLibraryTargets.cmake
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-21 16:42:02 +00:00
|
|
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|