<commit_before>add_subdirectory(icons)

include_directories(${LIBOTR_INCLUDE_DIR} ${KOPETE_INCLUDES})

########### next target ###############

set(kopete_otr_PART_SRCS otrguiclient.cpp otrplugin.cpp)

kde4_add_kcfg_files(kopete_otr_PART_SRCS kopete_otr.kcfgc)

kde4_add_plugin(kopete_otr ${kopete_otr_PART_SRCS})

target_link_libraries(kopete_otr kopete kopete_otr_shared otr)

install(TARGETS kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})

########### next target ###############

set(kcm_kopete_otr_PART_SRCS otrpreferences.cpp)

kde4_add_ui_files(kcm_kopete_otr_PART_SRCS otrprefs.ui)

kde4_add_kcfg_files(kcm_kopete_otr_PART_SRCS ${kotr_PART_SRCS} kopete_otr.kcfgc)

kde4_add_plugin(kcm_kopete_otr ${kcm_kopete_otr_PART_SRCS})

target_link_libraries(kcm_kopete_otr kopete kopete_otr_shared otr)

install(TARGETS kcm_kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})

########### next target ###############

set(kopete_otr_shared_LIB_SRCS
    otrlchatinterface.cpp
    otrlconfinterface.cpp
    smppopup.cpp
    verifydialog.cpp
    privkeypopup.cpp)

kde4_add_ui_files(kopete_otr_shared_LIB_SRCS smppopup.ui privkeypopup.ui verifydialog.ui)

kde4_add_library(kopete_otr_shared SHARED ${kopete_otr_shared_LIB_SRCS})

target_link_libraries(kopete_otr_shared kopete ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} otr)

set_target_properties(kopete_otr_shared PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS kopete_otr_shared ${INSTALL_TARGETS_DEFAULT_ARGS})

########### install files ###############
<commit_msg>Build, apparently this broke when the reduced link interface code went in.  I'm surprised that nobody else had this problem so CC me if I have used the wrong fix.<commit_after>add_subdirectory(icons)

include_directories(${LIBOTR_INCLUDE_DIR} ${KOPETE_INCLUDES})

########### next target ###############

set(kopete_otr_PART_SRCS otrguiclient.cpp otrplugin.cpp)

kde4_add_kcfg_files(kopete_otr_PART_SRCS kopete_otr.kcfgc)

kde4_add_plugin(kopete_otr ${kopete_otr_PART_SRCS})

target_link_libraries(kopete_otr ${KDE4_KDEUI_LIBS} kopete kopete_otr_shared otr)

install(TARGETS kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})

########### next target ###############

set(kcm_kopete_otr_PART_SRCS otrpreferences.cpp)

kde4_add_ui_files(kcm_kopete_otr_PART_SRCS otrprefs.ui)

kde4_add_kcfg_files(kcm_kopete_otr_PART_SRCS ${kotr_PART_SRCS} kopete_otr.kcfgc)

kde4_add_plugin(kcm_kopete_otr ${kcm_kopete_otr_PART_SRCS})

target_link_libraries(kcm_kopete_otr ${KDE4_KDEUI_LIBS} kopete kopete_otr_shared otr)

install(TARGETS kcm_kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})

########### next target ###############

set(kopete_otr_shared_LIB_SRCS
    otrlchatinterface.cpp
    otrlconfinterface.cpp
    smppopup.cpp
    verifydialog.cpp
    privkeypopup.cpp)

kde4_add_ui_files(kopete_otr_shared_LIB_SRCS smppopup.ui privkeypopup.ui verifydialog.ui)

kde4_add_library(kopete_otr_shared SHARED ${kopete_otr_shared_LIB_SRCS})

target_link_libraries(kopete_otr_shared kopete ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} otr)

set_target_properties(kopete_otr_shared PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS kopete_otr_shared ${INSTALL_TARGETS_DEFAULT_ARGS})

########### install files ###############

{'fraction_non_alphanumeric': 0.12433614495470166, 'fraction_numerical': 0.008747266479225243, 'mean_word_length': 9.498360655737704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '90457', 'n_tokens_mistral': 1395, 'n_tokens_neox': 1383, 'n_words': 171}