<commit_before>add_subdirectory(kcontactmanager)

include_directories(
	${CMAKE_SOURCE_DIR}/
	${CMAKE_SOURCE_DIR}/akonadi
	${QT_QTDBUS_INCLUDE_DIR}
)

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII ${KDE4_ENABLE_EXCEPTIONS}" )

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

set( kabcakonadi_LIB_SRC
  itembrowser.cpp
  kabcitembrowser.cpp
  kabcitemeditor.cpp
  kabcmodel.cpp
)

qt4_wrap_ui(kabcakonadi_LIB_SRC kabcitemeditor.ui)
kde4_add_library( akonadi-kabccommon SHARED ${kabcakonadi_LIB_SRC} )

target_link_libraries( akonadi-kabccommon ${KDE4_AKONADI_LIBS} ${KDE4_KABC_LIBS} )
target_link_libraries( akonadi-kabccommon LINK_INTERFACE_LIBRARIES ${KDE4_AKONADI_LIBS} ${KDE4_KABC_LIBS} )

set_target_properties( akonadi-kabccommon PROPERTIES VERSION ${GENERIC_LIB_VERSION} 
                                               SOVERSION ${GENERIC_LIB_SOVERSION} )

install(TARGETS akonadi-kabccommon ${INSTALL_TARGETS_DEFAULT_ARGS})
<commit_msg>build++<commit_after>add_subdirectory(kcontactmanager)

include_directories(
	${CMAKE_SOURCE_DIR}/
	${CMAKE_SOURCE_DIR}/akonadi
	${QT_QTDBUS_INCLUDE_DIR}
)

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII ${KDE4_ENABLE_EXCEPTIONS}" )

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

set( kabcakonadi_LIB_SRC
  itembrowser.cpp
  kabcitembrowser.cpp
  kabcitemeditor.cpp
  kabcmodel.cpp
)

qt4_wrap_ui(kabcakonadi_LIB_SRC kabcitemeditor.ui)
kde4_add_library( akonadi-kabccommon SHARED ${kabcakonadi_LIB_SRC} )

target_link_libraries( akonadi-kabccommon ${KDE4_AKONADI_LIBS} ${KDE4_KABC_LIBS} ${KDE4_KDEUI_LIBS} )
target_link_libraries( akonadi-kabccommon LINK_INTERFACE_LIBRARIES ${KDE4_AKONADI_LIBS} ${KDE4_KABC_LIBS} ${KDE4_KDEUI_LIBS} )

set_target_properties( akonadi-kabccommon PROPERTIES VERSION ${GENERIC_LIB_VERSION} 
                                               SOVERSION ${GENERIC_LIB_SOVERSION} )

install(TARGETS akonadi-kabccommon ${INSTALL_TARGETS_DEFAULT_ARGS})

{'fraction_non_alphanumeric': 0.10876132930513595, 'fraction_numerical': 0.008056394763343404, 'mean_word_length': 6.332103321033211, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4793759', 'n_tokens_mistral': 842, 'n_tokens_neox': 815, 'n_words': 90}