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

0001 cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
0002 
0003 # Release Service version, managed by release script
0004 set (RELEASE_SERVICE_VERSION_MAJOR "22")
0005 set (RELEASE_SERVICE_VERSION_MINOR "08")
0006 set (RELEASE_SERVICE_VERSION_MICRO "1")
0007 set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}")
0008 
0009 # Bump KOLLISION_BASE_VERSION once new features are added
0010 set(KOLLISION_BASE_VERSION "0.3")
0011 set(KOLLISION_VERSION "${KOLLISION_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}")
0012 
0013 project(kollision VERSION ${KOLLISION_VERSION})
0014 
0015 set (QT_MIN_VERSION "5.15.0")
0016 set (KF5_MIN_VERSION "5.90.0")
0017 
0018 find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
0019 set(CMAKE_MODULE_PATH ${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} REQUIRED NO_MODULE COMPONENTS Widgets)
0031 
0032 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0033     Config
0034     CoreAddons
0035     Crash
0036     DBusAddons
0037     DocTools
0038     I18n
0039     WidgetsAddons
0040     XmlGui
0041 )
0042 
0043 find_package(KF5KDEGames 7.3.0 REQUIRED)
0044 
0045 add_definitions(-DTRANSLATION_DOMAIN="kollision")
0046 add_definitions(
0047     -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
0048     -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
0049     -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055800
0050     -DKF_DEPRECATED_WARNINGS_SINCE=0x060000
0051 )
0052 
0053 add_subdirectory(pictures)
0054 add_subdirectory(sounds)
0055 add_subdirectory(doc)
0056 add_subdirectory(src)
0057 
0058 ki18n_install(po)
0059 kdoctools_install(po)
0060 
0061 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)