Warning, /games/kjumpingcube/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 "11")
0006 set (RELEASE_SERVICE_VERSION_MICRO "70")
0007 set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}")
0008 
0009 # Bump KJUMPINGCUBE_BASE_VERSION once new features are added
0010 set(KJUMPINGCUBE_BASE_VERSION "2.1")
0011 set(KJUMPINGCUBE_VERSION "${KJUMPINGCUBE_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}")
0012 
0013 project(kjumpingcube VERSION ${KJUMPINGCUBE_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(ECMQtDeclareLoggingCategory)
0028 include(ECMSetupVersion)
0029 include(FeatureSummary)
0030 
0031 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Svg)
0032 
0033 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0034     CoreAddons
0035     Config
0036     ConfigWidgets
0037     Crash
0038     DBusAddons
0039     DocTools
0040     KIO
0041     I18n
0042     XmlGui
0043     WidgetsAddons
0044 )
0045 
0046 find_package(KF5KDEGames 7.3.0 REQUIRED)
0047 
0048 add_definitions(
0049     -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
0050     -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
0051     -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900
0052     -DKF_DEPRECATED_WARNINGS_SINCE=0x060000
0053 )
0054 
0055 add_subdirectory(pics)
0056 add_subdirectory(doc)
0057 add_subdirectory(icons)
0058 add_subdirectory(src)
0059 
0060 ki18n_install(po)
0061 kdoctools_install(po)
0062 
0063 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)