Warning, /frameworks/sonnet/src/quick/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ecm_add_qml_module(sonnetquickplugin URI "org.kde.sonnet" VERSION 1.0) 0002 0003 target_sources(sonnetquickplugin PRIVATE 0004 sonnetquickplugin.cpp 0005 sonnetquickplugin.h 0006 spellcheckhighlighter.cpp 0007 spellcheckhighlighter.h ) 0008 0009 ecm_qt_declare_logging_category(sonnetquickplugin 0010 HEADER quick_debug.h 0011 IDENTIFIER SONNET_LOG_QUICK 0012 CATEGORY_NAME kf.sonnet.quick 0013 OLD_CATEGORY_NAMES sonnet.quick 0014 DESCRIPTION "Sonnet Quick bindings" 0015 EXPORT SONNET 0016 ) 0017 target_link_libraries(sonnetquickplugin 0018 PUBLIC Qt${QT_MAJOR_VERSION}::Quick 0019 PRIVATE KF5SonnetCore 0020 ) 0021 0022 set(bindest "${CMAKE_BINARY_DIR}/bin/qml/org/kde/sonnet/") 0023 set_target_properties(sonnetquickplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${bindest}") 0024 0025 ecm_finalize_qml_module(sonnetquickplugin DESTINATION ${KDE_INSTALL_QMLDIR}) 0026 0027 ecm_generate_qmltypes(org.kde.sonnet 1.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/sonnet)