Warning, /libraries/ktextaddons/texttranslator/translator/plugins/google/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-3-Clause 0002 # SPDX-FileCopyrightText: none 0003 include_directories(${CMAKE_CURRENT_BINARY_DIR}/) 0004 add_library(translator_google MODULE) 0005 ecm_qt_declare_logging_category(translator_debug_google_SRCS 0006 HEADER googletranslator_debug.h 0007 IDENTIFIER TRANSLATOR_GOOGLE_LOG 0008 CATEGORY_NAME org.kde.kf.texttranslator.google 0009 OLD_CATEGORY_NAMES org.kde.kf${KF_MAJOR_VERSION}.texttranslator.google 0010 DESCRIPTION "google translator" 0011 EXPORT KTEXTADDONS 0012 ) 0013 target_sources(translator_google PRIVATE 0014 ${translator_debug_google_SRCS} 0015 googleengineclient.h 0016 googleengineclient.cpp 0017 googleengineplugin.h 0018 googleengineplugin.cpp 0019 ) 0020 0021 target_link_libraries(translator_google PRIVATE KF${KF_MAJOR_VERSION}::TextTranslator KF${KF_MAJOR_VERSION}::I18n) 0022 0023 install(TARGETS translator_google DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf${QT_MAJOR_VERSION}/translator/) 0024 0025 if (BUILD_TESTING) 0026 add_subdirectory(autotests) 0027 endif()