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

0001 project(kregexpeditor)
0002 
0003 ############### search packages used by KDE ###############
0004 
0005 cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
0006 
0007 find_package(ECM 5.20 REQUIRED NO_MODULE)
0008 set(QT5_REQUIRED_VERSION "5.5.0")
0009 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
0010 
0011 include(ECMGenerateHeaders)
0012 include(ECMInstallIcons)
0013 include(ECMAddAppIcon)
0014 include(ECMMarkNonGuiExecutable)
0015 include(ECMOptionalAddSubdirectory)
0016 include(ECMSetupVersion)
0017 include(FeatureSummary)
0018 include(KDEInstallDirs)
0019 include(KDECMakeSettings)
0020 include(KDECompilerSettings NO_POLICY_SCOPE)
0021 
0022 find_package(Qt5 ${QT5_REQUIRED_VERSION} CONFIG REQUIRED Core Widgets)
0023 find_package(KF5 REQUIRED
0024     ConfigWidgets
0025     DocTools
0026     IconThemes
0027     Service
0028     TextWidgets
0029     WidgetsAddons
0030     Crash
0031     )
0032 
0033 find_package(BISON REQUIRED)
0034 find_package(FLEX REQUIRED)
0035 
0036 
0037 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0038 
0039 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
0040 
0041 ############### Find the stuff we need ###############
0042 
0043 add_definitions( -DQT_NO_CAST_ASCII )
0044 add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x050e00 )
0045 # not for now, the code is not fully ready for it
0046 #add_definitions( -DQT_NO_CAST_FROM_ASCII )
0047 add_definitions( -DQT_NO_CAST_TO_ASCII )
0048 add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
0049 
0050 add_subdirectory(src)
0051 add_subdirectory( doc )
0052 
0053 add_subdirectory(tests)
0054 
0055 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)