Warning, /education/blinken/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required (VERSION 3.16 FATAL_ERROR)
0002 
0003 # KDE Application Version, managed by release script
0004 set(RELEASE_SERVICE_VERSION_MAJOR "24")
0005 set(RELEASE_SERVICE_VERSION_MINOR "01")
0006 set(RELEASE_SERVICE_VERSION_MICRO "95")
0007 set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
0008 
0009 project(blinken VERSION ${RELEASE_SERVICE_VERSION})
0010 
0011 # minimal Qt requirement
0012 set(QT_MIN_VERSION "6.5.0")
0013 set(KF5_MIN_VERSION "5.240.0")
0014 
0015 # ECM
0016 find_package (ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0017 
0018 # where to look first for cmake modules
0019 set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0020 
0021 include(KDEInstallDirs)
0022 include(KDECMakeSettings)
0023 include(KDECompilerSettings NO_POLICY_SCOPE)
0024 
0025 include(ECMAddAppIcon)
0026 include(ECMInstallIcons)
0027 include(ECMSetupVersion)
0028 include(FeatureSummary)
0029 include(ECMDeprecationSettings)
0030 
0031 find_package (Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED Core Widgets Svg)
0032 
0033 find_package (KF6 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0034     CoreAddons I18n XmlGui GuiAddons DocTools DBusAddons Crash
0035 )
0036 
0037 find_package (Phonon4Qt6 REQUIRED)
0038 
0039 # global include directories
0040 include_directories (${CMAKE_CURRENT_BINARY_DIR})
0041 ecm_set_disabled_deprecation_versions(QT 6.6  KF 5.240.0)
0042 
0043 add_subdirectory( doc )
0044 add_subdirectory( src ) 
0045 add_subdirectory( images ) 
0046 add_subdirectory( icons ) 
0047 add_subdirectory( sounds ) 
0048 add_subdirectory( fonts ) 
0049 
0050 ########### install files ###############
0051 
0052 ki18n_install(po)
0053 if (KF6DocTools_FOUND)
0054     kdoctools_install(po)
0055 endif()
0056 install( FILES README.packagers  DESTINATION  ${KDE_INSTALL_DATADIR}/blinken/ )
0057 install( FILES org.kde.blinken.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
0058 
0059 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
0060