Changeset View
Changeset View
Standalone View
Standalone View
kmail/grammarplugins/languagetool/plugin/CMakeLists.txt
1 | if(BUILD_TESTING) | 1 | if(BUILD_TESTING) | ||
---|---|---|---|---|---|
2 | add_subdirectory(autotests) | 2 | add_subdirectory(autotests) | ||
3 | endif() | 3 | endif() | ||
4 | 4 | | |||
5 | set(languagetoolplugin_SRCS | 5 | set(languagetoolplugin_SRCS | ||
6 | languagetoolplugin.cpp | 6 | languagetoolplugin.cpp | ||
7 | languagetoolinterface.cpp | 7 | languagetoolinterface.cpp | ||
8 | ) | 8 | ) | ||
9 | 9 | | |||
10 | ecm_qt_declare_logging_category(languagetoolplugin_SRCS HEADER languagetoolplugin_debug.h IDENTIFIER KMAIL_EDITOR_LANGUAGETOOL_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_languagetoolplugin) | 10 | ecm_qt_declare_logging_category(languagetoolplugin_SRCS HEADER languagetoolplugin_debug.h IDENTIFIER KMAIL_EDITOR_LANGUAGETOOL_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_languagetoolplugin) | ||
11 | 11 | | |||
12 | kcoreaddons_add_plugin(kmail_languagetoolplugin JSON kmail_languagetoolplugin.json SOURCES | 12 | kcoreaddons_add_plugin(kmail_languagetoolplugin JSON kmail_languagetoolplugin.json SOURCES | ||
13 | ${languagetoolplugin_SRCS} INSTALL_NAMESPACE kmail) | 13 | ${languagetoolplugin_SRCS} INSTALL_NAMESPACE kmail) | ||
14 | 14 | | |||
15 | target_link_libraries(kmail_languagetoolplugin | 15 | target_link_libraries(kmail_languagetoolplugin | ||
16 | KF5::IconThemes KF5::MessageComposer KF5::I18n KF5::PimCommon KF5::XmlGui kmaillanguagetool grammarcommon | 16 | KF5::MessageComposer KF5::I18n KF5::PimCommon KF5::XmlGui kmaillanguagetool grammarcommon | ||
17 | ) | 17 | ) |