Warning, /plasma/plasma-nano/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 project(plasma-nano) 0002 0003 set(PROJECT_VERSION "6.0.80") 0004 set(PROJECT_VERSION_MAJOR 6) 0005 0006 # minimal requirements 0007 cmake_minimum_required(VERSION 3.16) 0008 set(PROJECT_DEP_VERSION "6.0.80") 0009 set(QT_MIN_VERSION "6.6.0") 0010 set(KF6_MIN_VERSION "5.240.0") 0011 set(KDE_COMPILERSETTINGS_LEVEL "5.82") 0012 0013 set(CMAKE_CXX_STANDARD 20) 0014 set(CMAKE_CXX_STANDARD_REQUIRED ON) 0015 0016 set(CMAKE_AUTOMOC ON) 0017 set(CMAKE_INCLUDE_CURRENT_DIR ON) 0018 0019 find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE) 0020 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH}) 0021 0022 include(KDEInstallDirs) 0023 include(KDECMakeSettings) 0024 include(KDECompilerSettings) 0025 include(ECMOptionalAddSubdirectory) 0026 include(ECMInstallIcons) 0027 include(ECMSetupVersion) 0028 include(ECMMarkNonGuiExecutable) 0029 include(ECMGenerateHeaders) 0030 include(KDEClangFormat) 0031 include(KDEGitCommitHooks) 0032 include(GenerateExportHeader) 0033 include(FeatureSummary) 0034 include(ECMDeprecationSettings) 0035 0036 find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED Core Gui Qml Quick Svg) 0037 find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS WindowSystem I18n Service ItemModels) 0038 find_package(Plasma ${PROJECT_DEP_VERSION} REQUIRED) 0039 find_package(KWayland ${PROJECT_DEP_VERSION} REQUIRED) 0040 0041 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) 0042 0043 include(CheckIncludeFiles) 0044 0045 plasma_install_package(shell org.kde.plasma.nano shells) 0046 plasma_install_package(desktoptoolbox org.kde.plasma.nano.desktoptoolbox packages package) 0047 ecm_set_disabled_deprecation_versions(QT 6.5 0048 KF 5.240 0049 ) 0050 0051 0052 add_subdirectory(components) 0053 0054 # add clang-format target for all our real source files 0055 file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h) 0056 kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) 0057 kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT) 0058 0059 ki18n_install(po)