<commit_before>project(kabcclient)

add_subdirectory(examples) 

include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${QT_INCLUDE_DIR}  )


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

SET(kabcclient_SRCS
    main.cpp
    csvtemplate.cpp
    csvtemplatefactory.cpp
    formatfactory.cpp
    kabcclient.cpp
    inputformatimpls.cpp
    outputformatimpls.cpp)


kde4_add_executable(kabcclient NOGUI ${kabcclient_SRCS})

target_link_libraries(kabcclient ${KDE4_KABC_LIBS} ${KDE4_KDEUI_LIBS} )

install(TARGETS kabcclient DESTINATION ${BIN_INSTALL_DIR})
#note: kabcclient acts as kabc2mutt invoked with that name
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/kabcclient DESTINATION ${BIN_INSTALL_DIR} RENAME kabc2mutt)<commit_msg>fix installation on windows<commit_after>project(kabcclient)

add_subdirectory(examples) 

include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${QT_INCLUDE_DIR}  )


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

SET(kabcclient_SRCS
    main.cpp
    csvtemplate.cpp
    csvtemplatefactory.cpp
    formatfactory.cpp
    kabcclient.cpp
    inputformatimpls.cpp
    outputformatimpls.cpp)


kde4_add_executable(kabcclient NOGUI ${kabcclient_SRCS})

target_link_libraries(kabcclient ${KDE4_KABC_LIBS} ${KDE4_KDEUI_LIBS} )

install(TARGETS kabcclient DESTINATION ${BIN_INSTALL_DIR})

if(NOT WIN32)
#note: kabcclient acts as kabc2mutt invoked with that name
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/kabcclient DESTINATION ${BIN_INSTALL_DIR} RENAME kabc2mutt)
else(NOT WIN32)
kde4_add_executable(kabc2mutt NOGUI ${kabcclient_SRCS})
target_link_libraries(kabc2mutt ${KDE4_KABC_LIBS} ${KDE4_KDEUI_LIBS} )
install(TARGETS kabc2mutt DESTINATION ${BIN_INSTALL_DIR})
#endif(NOT WIN32)

{'fraction_non_alphanumeric': 0.1086053412462908, 'fraction_numerical': 0.013056379821958458, 'mean_word_length': 7.305418719211823, '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': '2216780', 'n_tokens_mistral': 654, 'n_tokens_neox': 617, 'n_words': 98}