<commit_before>include_directories(
    ${CMAKE_SOURCE_DIR}/headers
    ${CMAKE_BINARY_DIR}/headers
)

set(SOURCES
    accountsmanager.cpp
    useraccount.cpp
    usersmodel.cpp
)

set(HEADERS
    accountsmanager.h
    useraccount.h
    usersmodel.h
)

qt5_add_dbus_interface(SOURCES
                       ${CMAKE_SOURCE_DIR}/data/interfaces/org.freedesktop.Accounts.User.xml
                       user_interface)
qt5_add_dbus_interface(SOURCES
                       ${CMAKE_SOURCE_DIR}/data/interfaces/org.freedesktop.Accounts.xml
                       accounts_interface)

add_library(qtaccountsservice-qt5 SHARED ${SOURCES})
target_link_libraries(qtaccountsservice-qt5
                      Qt5::Core
                      Qt5::DBus
)
set_target_properties(qtaccountsservice-qt5 PROPERTIES
    VERSION ${PROJECT_VERSION}
    SOVERSION ${PROJECT_SOVERSION})
install(TARGETS qtaccountsservice-qt5
        EXPORT QtAccountsServiceTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${HEADERS}
        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QtAccountsService)<commit_msg>Link to Qt5::Gui<commit_after>include_directories(
    ${CMAKE_SOURCE_DIR}/headers
    ${CMAKE_BINARY_DIR}/headers
)

set(SOURCES
    accountsmanager.cpp
    useraccount.cpp
    usersmodel.cpp
)

set(HEADERS
    accountsmanager.h
    useraccount.h
    usersmodel.h
)

qt5_add_dbus_interface(SOURCES
                       ${CMAKE_SOURCE_DIR}/data/interfaces/org.freedesktop.Accounts.User.xml
                       user_interface)
qt5_add_dbus_interface(SOURCES
                       ${CMAKE_SOURCE_DIR}/data/interfaces/org.freedesktop.Accounts.xml
                       accounts_interface)

add_library(qtaccountsservice-qt5 SHARED ${SOURCES})
target_link_libraries(qtaccountsservice-qt5
                      Qt5::Core
                      Qt5::DBus
                      Qt5::Gui
)
set_target_properties(qtaccountsservice-qt5 PROPERTIES
    VERSION ${PROJECT_VERSION}
    SOVERSION ${PROJECT_SOVERSION})
install(TARGETS qtaccountsservice-qt5
        EXPORT QtAccountsServiceTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${HEADERS}
        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QtAccountsService)
{'fraction_non_alphanumeric': 0.07672188317349608, 'fraction_numerical': 0.007846556233653008, 'mean_word_length': 2.9982578397212545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '4872858', 'n_tokens_mistral': 765, 'n_tokens_neox': 718, 'n_words': 84}