Warning, /frameworks/kconfig/src/kconfig_compiler/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_executable(kconfig_compiler)
0002 
0003 if(CMAKE_CROSSCOMPILING)
0004     if(BUILD_TESTING)
0005         message(WARNING "Testing should be disabled on cross-compilation")
0006     endif()
0007 else()
0008     add_executable(KF6::kconfig_compiler ALIAS kconfig_compiler)
0009 endif()
0010 
0011 target_sources(kconfig_compiler PRIVATE
0012     KConfigParameters.cpp
0013     KConfigCodeGeneratorBase.cpp
0014     KConfigHeaderGenerator.cpp
0015     KConfigSourceGenerator.cpp
0016     KConfigXmlParser.cpp
0017     kconfig_compiler.cpp
0018 )
0019 
0020 set_target_properties(kconfig_compiler PROPERTIES
0021     OUTPUT_NAME "kconfig_compiler_kf6"
0022 )
0023 
0024 target_link_libraries(kconfig_compiler Qt6::Xml)
0025 
0026 ecm_mark_nongui_executable(kconfig_compiler)
0027 
0028 install(TARGETS kconfig_compiler EXPORT KF6ConfigCompilerTargets DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF})