Warning, /frameworks/extra-cmake-modules/tests/ExecuteKDEModules/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.5) 0002 project(ExecuteKDEModules) 0003 0004 # order is important (install dirs before cmake settings)! 0005 set(all_kde_modules 0006 KDEInstallDirs 0007 KDECMakeSettings 0008 KDECompilerSettings 0009 KDEFrameworkCompilerSettings 0010 ECMMarkNonGuiExecutable 0011 ) 0012 0013 set(ECM_KDE_MODULE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../kde-modules) 0014 set(ECM_MODULE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../modules) 0015 set(CMAKE_MODULE_PATH "${ECM_KDE_MODULE_DIR}" "${ECM_MODULE_DIR}") 0016 0017 foreach(module ${all_kde_modules}) 0018 message(STATUS "module: ${module}") 0019 include("${module}") 0020 endforeach() 0021 0022 add_executable(dummy main.c) 0023 ecm_mark_nongui_executable(dummy) 0024 0025 set_target_properties(dummy PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})