Warning, /games/knavalbattle/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required (VERSION 3.16 FATAL_ERROR)
0002 
0003 set (RELEASE_SERVICE_VERSION_MAJOR "22")
0004 set (RELEASE_SERVICE_VERSION_MINOR "08")
0005 set (RELEASE_SERVICE_VERSION_MICRO "1")
0006 set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
0007 set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}")
0008 
0009 project(knavalbattle VERSION "2.1.${RELEASE_SERVICE_COMPACT_VERSION}")
0010 
0011 set (QT_MIN_VERSION "5.15.2")
0012 set (KF_MIN_VERSION "5.91.0")
0013 
0014 find_package(ECM ${KF_MIN_VERSION} REQUIRED CONFIG)
0015 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} )
0016 
0017 include(KDEInstallDirs)
0018 include(KDECMakeSettings)
0019 include(KDECompilerSettings NO_POLICY_SCOPE)
0020 
0021 include(ECMAddAppIcon)
0022 include(ECMInstallIcons)
0023 include(ECMSetupVersion)
0024 include(ECMQtDeclareLoggingCategory)
0025 include(ECMDeprecationSettings)
0026 include(FeatureSummary)
0027 
0028 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets)
0029 
0030 find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS
0031   CoreAddons
0032   Config
0033   Crash
0034   DBusAddons
0035   DNSSD
0036   DocTools
0037   I18n
0038   TextWidgets
0039   XmlGui
0040 )
0041 
0042 find_package(KF5KDEGames 7.3.0 REQUIRED)
0043 
0044 ecm_set_disabled_deprecation_versions(
0045     QT 5.15.2
0046     KF 5.91
0047     KDEGAMES 7.3
0048 )
0049 
0050 add_subdirectory(src) 
0051 add_subdirectory(data)
0052 add_subdirectory(doc)
0053 ecm_qt_install_logging_categories(EXPORT KNAVALBATTLE FILE knavalbattle.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
0054 
0055 ki18n_install(po)
0056 kdoctools_install(po)
0057 
0058 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)