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 "22")
0005 set(RELEASE_SERVICE_VERSION_MINOR "11")
0006 set(RELEASE_SERVICE_VERSION_MICRO "70")
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 "5.15.2")
0013 set(KF5_MIN_VERSION "5.90.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 
0030 find_package (Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED Core Widgets Svg)
0031 
0032 find_package (KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0033     CoreAddons I18n XmlGui GuiAddons DocTools DBusAddons Crash
0034 )
0035 
0036 find_package (Phonon4Qt${QT_MAJOR_VERSION} REQUIRED)
0037 
0038 # global include directories
0039 include_directories (${CMAKE_CURRENT_BINARY_DIR})
0040 
0041 
0042 add_subdirectory( doc )
0043 add_subdirectory( src ) 
0044 add_subdirectory( images ) 
0045 add_subdirectory( icons ) 
0046 add_subdirectory( sounds ) 
0047 add_subdirectory( fonts ) 
0048 
0049 ########### install files ###############
0050 
0051 ki18n_install(po)
0052 if (KF5DocTools_FOUND)
0053     kdoctools_install(po)
0054 endif()
0055 install( FILES README.packagers  DESTINATION  ${KDE_INSTALL_DATADIR}/blinken/ )
0056 install( FILES org.kde.blinken.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
0057 
0058 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
0059