Warning, /system/systemdgenie/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 project(SYSTEMD-GENIE)
0002 set(PROJECT_VERSION "0.99.0")
0003 
0004 cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
0005 set(QT_MIN_VERSION "5.15.0")
0006 set(KF5_MIN_VERSION "5.95.0")
0007 set(KDE_COMPILERSETTINGS_LEVEL "5.84.0")
0008 
0009 # Silence a warning
0010 cmake_policy(SET CMP0063 NEW)
0011 
0012 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0013 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0014 set(CMAKE_AUTOMOC ON)
0015 set(CMAKE_INCLUDE_CURRENT_DIR ON)
0016 
0017 include(KDEInstallDirs)
0018 include(KDECompilerSettings)
0019 include(KDECMakeSettings)
0020 include(FeatureSummary)
0021 include(CheckIncludeFiles)
0022 
0023 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
0024              DBus
0025              Gui
0026              Widgets)
0027 
0028 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0029              Auth
0030              CoreAddons
0031              Crash
0032              I18n
0033              XmlGui)
0034 
0035 add_definitions(-DQT_NO_CAST_FROM_ASCII
0036                 -DQT_NO_URL_CAST_FROM_STRING)
0037 
0038 include(ECMSetupVersion)
0039 ecm_setup_version(${PROJECT_VERSION}
0040                   VARIABLE_PREFIX SYSTEMDGENIE
0041                   VERSION_HEADER "systemdgenie_version.h")
0042 
0043 find_package(PkgConfig REQUIRED)
0044 pkg_check_modules(SYSTEMD "systemd>=209" REQUIRED IMPORTED_TARGET)
0045 pkg_check_modules(JOURNALD "libsystemd>=209" REQUIRED IMPORTED_TARGET)
0046 
0047 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
0048 
0049 # Adding local CMake modules
0050 set (
0051    CMAKE_MODULE_PATH
0052    ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules
0053    ${CMAKE_MODULE_PATH}
0054    )
0055 
0056 add_definitions(-DTRANSLATION_DOMAIN=\"systemdgenie\")
0057 
0058 include_directories(
0059     ${CMAKE_CURRENT_SOURCE_DIR}
0060     ${CMAKE_BINARY_DIR}
0061 )
0062 
0063 add_subdirectory(src)
0064 
0065 ki18n_install(po)
0066 
0067 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)