Warning, /plasma/plasma-bigscreen/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # Set minimum CMake version (required for CMake 3.0 or later)
0002 cmake_minimum_required(VERSION 3.16)
0003 cmake_policy(SET CMP0048 NEW)
0004 project(plasma-bigscreen)
0005 set(PROJECT_VERSION "5.27.10")
0006 set(PROJECT_VERSION_MAJOR 5)
0007 
0008 set(QT_MIN_VERSION "5.15.2")
0009 set(KF5_MIN_VERSION "5.102.0")
0010  
0011 # Use Extra CMake Modules (ECM) for common functionality.
0012 # See http://api.kde.org/ecm/manual/ecm.7.html
0013 # and http://api.kde.org/ecm/manual/ecm-kde-modules.7.html 
0014 find_package(ECM REQUIRED NO_MODULE)
0015 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
0016 set(VERSION 2.1.0)
0017 
0018 include(ECMFindQmlModule)
0019 include(KDEInstallDirs)
0020 include(KDECMakeSettings)
0021 include(KDECompilerSettings NO_POLICY_SCOPE)
0022 include(ECMInstallIcons)
0023 include(ECMDeprecationSettings)
0024 
0025 # Locate plasma_install_package macro.
0026 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0027     Activities
0028     ActivitiesStats
0029     Plasma
0030     I18n
0031     Kirigami2
0032     Declarative
0033     KCMUtils
0034     Notifications
0035     PlasmaQuick
0036     KIO
0037     Wayland
0038     WindowSystem
0039 )
0040 
0041 find_package(LibKWorkspace 5.19 CONFIG REQUIRED)
0042 
0043 
0044 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
0045     Quick
0046     Core
0047     Qml
0048     DBus
0049     Network
0050     Multimedia
0051 )
0052 
0053 ecm_find_qmlmodule(Mycroft 1.0)
0054 
0055 if(NOT ${Mycroft-QMLModule_FOUND})
0056     message(WARNING "Could not find the Mycroft QML module. Voice interaction features will not be available.")
0057 endif()
0058 
0059 ecm_set_disabled_deprecation_versions(QT 5.15.2
0060     KF 5.101
0061 )
0062 
0063 
0064 add_subdirectory(bin)
0065 add_subdirectory(containments)
0066 add_subdirectory(kcms)
0067 add_subdirectory(components)
0068 add_subdirectory(sounds)
0069 
0070 plasma_install_package(shell org.kde.plasma.mycroft.bigscreen shells)
0071 plasma_install_package(lookandfeel org.kde.plasma.mycroft.bigscreen look-and-feel lookandfeel)
0072 
0073 
0074 install(FILES bin/mycroft-skill-launcher.py DESTINATION ${KDE_INSTALL_BINDIR})
0075 install(FILES org.kde.plasma.mycroft.bigscreen.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
0076 
0077 include(KDEClangFormat)
0078 include(KDEGitCommitHooks)
0079 file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
0080 kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
0081 kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
0082 
0083 ki18n_install(po)
0084 
0085 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)