Warning, /network/ktp-common-internals/KTp/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include_directories (${CMAKE_CURRENT_BINARY_DIR}
0002                      ${CMAKE_CURRENT_SOURCE_DIR})
0003 
0004 set (ktp_common_internals_private_SRCS
0005      abstract-message-filter.cpp
0006      account-factory.cpp
0007      actions.cpp
0008      capabilities-hack-private.cpp
0009      circular-countdown.cpp
0010      contact.cpp
0011      contact-factory.cpp
0012      core.cpp
0013      debug.cpp
0014      error-dictionary.cpp
0015      global-contact-manager.cpp
0016      global-presence.cpp
0017      logs-importer.cpp
0018      logs-importer-private.cpp
0019      message.cpp
0020      message-context.cpp
0021      message-escape-filter.cpp
0022      message-filter-config-manager.cpp
0023      message-processor.cpp
0024      outgoing-message.cpp
0025      persistent-contact.cpp
0026      presence.cpp
0027      service-availability-checker.cpp
0028      telepathy-handler-application.cpp
0029      text-parser.cpp
0030      pending-wallet.cpp
0031      wallet-interface.cpp
0032      wallet-utils.cpp
0033 )
0034 
0035 set (ktp_common_internals_private_HDRS
0036      abstract-message-filter.h
0037      actions.h
0038      circular-countdown.h
0039      contact.h
0040      contact-factory.h
0041      core.h
0042      debug.h
0043      error-dictionary.h
0044      global-contact-manager.h
0045      global-presence.h
0046      logs-importer.h
0047      message-filter-config-manager.h
0048      message.h
0049      message-context.h
0050      message-processor.h
0051      outgoing-message.h
0052      persistent-contact.h
0053      presence.h
0054      service-availability-checker.h
0055      telepathy-handler-application.h
0056      text-parser.h
0057      pending-wallet.h
0058      wallet-interface.h
0059      wallet-utils.h
0060      types.h
0061      ${CMAKE_CURRENT_BINARY_DIR}/ktpcommoninternals_export.h
0062 )
0063 
0064 if (TelepathyLoggerQt_FOUND)
0065     set (ktp_private_LIBS
0066          ${ktp_private_LIBS}
0067          ${TELEPATHY_LOGGER_LIBRARIES}
0068          )
0069 endif ()
0070 
0071 if (KF5People_FOUND)
0072     set (ktp_private_LIBS
0073          ${ktp_private_LIBS}
0074          KF5::People
0075          )
0076 endif()
0077 
0078 add_library (KTpCommonInternals
0079                  ${ktp_common_internals_private_SRCS}
0080 )
0081 add_library (KTp::CommonInternals ALIAS KTpCommonInternals)
0082 
0083 generate_export_header(KTpCommonInternals BASE_NAME KTpCommonInternals)
0084 
0085 #Raise SOVERSION for every 0.x cycle
0086 set_target_properties(KTpCommonInternals PROPERTIES
0087                                         VERSION ${KTP_VERSION}
0088                                         SOVERSION ${KTP_SONUMBER}
0089                                         EXPORT_NAME CommonInternals
0090                                         DEFINE_SYMBOL MAKE_KTP_LIB)
0091 
0092 target_link_libraries (KTpCommonInternals
0093                 PUBLIC
0094                     Qt5::DBus
0095                     Qt5::Xml
0096                     KF5::Wallet #included from wallet-interface.h
0097                     TelepathyQt5::Core
0098                 PRIVATE
0099                     ${ktp_private_LIBS}
0100                     KF5::KIOWidgets
0101                     KF5::I18n
0102                     KF5::IconThemes
0103                     KF5::Notifications
0104                     KF5::IconThemes
0105 )
0106 
0107 install (TARGETS KTpCommonInternals
0108          EXPORT KTpTargets
0109          ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}
0110 )
0111 
0112 install (FILES ${ktp_common_internals_private_HDRS}
0113          DESTINATION ${KDE_INSTALL_INCLUDEDIR}/KTp
0114 )
0115 
0116 add_subdirectory(Declarative)
0117 add_subdirectory(Models)
0118 add_subdirectory(Widgets)
0119 add_subdirectory(Logger)
0120 add_subdirectory(OTR)
0121 
0122 # API docs
0123 find_package(Doxygen)
0124 
0125 if(DOXYGEN_EXECUTABLE)
0126   configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.cmake ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
0127 
0128   add_custom_target(
0129     apidox
0130     COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile)
0131 endif()