Warning, /plasma/kactivitymanagerd/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # vim:set softtabstop=3 shiftwidth=3 tabstop=3 expandtab: 0002 0003 # Boosting us a bit 0004 0005 find_package(Boost ${Boost_MINIMUM_VERSION} MODULE REQUIRED) 0006 set_package_properties(Boost PROPERTIES 0007 DESCRIPTION "Boost C++ Libraries" 0008 URL "https://www.boost.org" 0009 TYPE REQUIRED 0010 ) 0011 include_directories (${Boost_INCLUDE_DIRS}) 0012 0013 # ======================================================= 0014 # Starting the actual project definition 0015 0016 # Config file 0017 set (KAMD_PLUGIN_VERSION 1) 0018 set (KAMD_PLUGIN_DIR "kactivitymanagerd${KAMD_PLUGIN_VERSION}") 0019 set (KAMD_FULL_PLUGIN_DIR "${KDE_INSTALL_FULL_PLUGINDIR}/${KAMD_PLUGIN_DIR}/") 0020 configure_file (kactivities-features.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kactivities-features.h) 0021 0022 include_directories ( 0023 ${CMAKE_CURRENT_BINARY_DIR} 0024 ${CMAKE_CURRENT_SOURCE_DIR} 0025 ) 0026 0027 # D-Bus activation service file, and associated systemd service 0028 ecm_generate_dbus_service_file( 0029 NAME org.kde.ActivityManager 0030 EXECUTABLE "${KDE_INSTALL_FULL_LIBEXECDIR}/kactivitymanagerd" 0031 SYSTEMD_SERVICE plasma-kactivitymanagerd.service 0032 DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR} 0033 ) 0034 ecm_install_configured_files( 0035 INPUT plasma-kactivitymanagerd.service.in 0036 DESTINATION ${KDE_INSTALL_SYSTEMDUSERUNITDIR} 0037 ) 0038 0039 add_library(debug_STATIC STATIC) 0040 set_target_properties(debug_STATIC PROPERTIES POSITION_INDEPENDENT_CODE ON) 0041 target_link_libraries(debug_STATIC Qt::Core) 0042 ecm_qt_declare_logging_category(debug_STATIC 0043 HEADER DebugActivities.h 0044 IDENTIFIER KAMD_LOG_ACTIVITIES 0045 CATEGORY_NAME org.kde.kactivities.activities 0046 DEFAULT_SEVERITY Warning 0047 DESCRIPTION "KActivities Activities" EXPORT KACTIVITYMANAGERD) 0048 ecm_qt_declare_logging_category(debug_STATIC 0049 HEADER DebugResources.h 0050 IDENTIFIER KAMD_LOG_RESOURCES 0051 CATEGORY_NAME org.kde.kactivities.resources 0052 DEFAULT_SEVERITY Warning 0053 DESCRIPTION "KActivities Resources" EXPORT KACTIVITYMANAGERD) 0054 ecm_qt_declare_logging_category(debug_STATIC 0055 HEADER DebugApplication.h 0056 IDENTIFIER KAMD_LOG_APPLICATION 0057 CATEGORY_NAME org.kde.kactivities.application 0058 DEFAULT_SEVERITY Warning 0059 DESCRIPTION "KActivities Application" EXPORT KACTIVITYMANAGERD) 0060 0061 add_subdirectory (service)