Warning, /utilities/keurocalc/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.16)
0002 project(keuromain)
0003 
0004 set(QT_MIN_VERSION "5.15.2")
0005 set(KF5_MIN_VERSION "5.90.0")
0006 set(KDE_COMPILERSETTINGS_LEVEL "5.82.0")
0007 
0008 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0009 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0010 
0011 include(KDEInstallDirs)
0012 include(KDECMakeSettings)
0013 include(KDECompilerSettings NO_POLICY_SCOPE)
0014 include(FeatureSummary)
0015 include(ECMInstallIcons)
0016 
0017 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
0018     Core
0019     Widgets
0020 )
0021 
0022 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0023     Config
0024     ConfigWidgets
0025     CoreAddons
0026     DocTools
0027     I18n
0028     KIO
0029     WidgetsAddons
0030     XmlGui
0031 )
0032 
0033 include(CheckIncludeFile)
0034 
0035 check_include_file(xlocale.h HAVE_XLOCALE_H)
0036 
0037 configure_file(config-keurocalc.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-keurocalc.h)
0038 
0039 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0040 
0041 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
0042 add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054800)
0043 
0044 add_subdirectory( keurocalc )
0045 add_subdirectory( doc )
0046 add_subdirectory( curconvd )