Warning, /frameworks/kconfig/src/kconf_update/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_executable(kconf_update) 0002 add_executable(KF5::kconf_update ALIAS kconf_update) 0003 0004 target_sources(kconf_update PRIVATE 0005 kconf_update.cpp 0006 kconfigutils.cpp 0007 ) 0008 0009 ecm_qt_declare_logging_category(kconf_update 0010 HEADER kconf_update_debug.h 0011 IDENTIFIER KCONF_UPDATE_LOG 0012 CATEGORY_NAME kf.config.kconf_update 0013 OLD_CATEGORY_NAMES kf5.kconfig.update 0014 DESCRIPTION "kconf_update" 0015 EXPORT KCONFIG 0016 ) 0017 0018 target_link_libraries(kconf_update Qt${QT_MAJOR_VERSION}::Core KF5::ConfigCore) 0019 include(ECMMarkNonGuiExecutable) 0020 ecm_mark_nongui_executable(kconf_update) 0021 0022 file( 0023 GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/kconf-exec.h 0024 CONTENT "#define KCONF_UPDATE_EXECUTABLE \"$<TARGET_FILE:kconf_update>\"" 0025 ) 0026 configure_file(config-kconf.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kconf.h ) 0027 0028 # Although this is mostly an internal binary (hence installing it in 0029 # KF5_LIBEXEC_INSTALL_DIR), it is used by kded, and so we export its location 0030 install(TARGETS kconf_update EXPORT KF5ConfigCompilerTargets DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF})