<commit_before>set(mq_localsocket_connection_srcs
  localsocketconnection.cpp)

set(mq_localsocket_connectionlistener_srcs
  localsocketconnectionlistener.cpp)

set(mq_client_localsocket_srcs
  localsocketclient.cpp)

add_library(mqlocalsocketconnection STATIC localsocketconnection.cpp)
set_target_properties(mqlocalsocketconnection PROPERTIES AUTOMOC TRUE)
target_link_libraries(mqlocalsocketconnection
  mqconnection
  ${QT_LIBRARIES})

add_library(mqlocalsocketconnectionlistener STATIC
  localsocketconnectionlistener.cpp)
set_target_properties(mqlocalsocketconnectionlistener PROPERTIES AUTOMOC TRUE)
target_link_libraries(mqlocalsocketconnectionlistener
  mqconnectionlistener
  mqlocalsocketconnection
  ${QT_LIBRARIES})

# local socket client
add_library(mqlocalsocketclient localsocketclient.cpp)
set_target_properties(mqlocalsocketclient PROPERTIES AUTOMOC TRUE)
target_link_libraries(mqlocalsocketclient
  molequeueclient
  mqlocalsocketconnection)

set(hdrs localsocketclient.h ${CMAKE_CURRENT_BINARY_DIR}/mqlocalsocketclientexport.h)

generate_export_header(mqlocalsocketclient EXPORT_FILE_NAME mqlocalsocketclientexport.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_compiler_export_flags(molequeue_export_flags)
set_property(TARGET mqlocalsocketclient APPEND
  PROPERTY COMPILE_FLAGS ${molequeue_export_flags})

install(FILES ${hdrs} DESTINATION "${INSTALL_INCLUDE_DIR}/molequeue/localsocketclient")
install(
  TARGETS
    mqlocalsocketconnection
    mqlocalsocketclient
    mqlocalsocketconnectionlistener<commit_msg>Install the local socket connection headers<commit_after>set(mq_localsocket_connection_srcs
  localsocketconnection.cpp)

set(mq_localsocket_connectionlistener_srcs
  localsocketconnectionlistener.cpp)

set(mq_client_localsocket_srcs
  localsocketclient.cpp)

add_library(mqlocalsocketconnection STATIC localsocketconnection.cpp)
set_target_properties(mqlocalsocketconnection PROPERTIES AUTOMOC TRUE)
target_link_libraries(mqlocalsocketconnection
  mqconnection
  ${QT_LIBRARIES})

add_library(mqlocalsocketconnectionlistener STATIC
  localsocketconnectionlistener.cpp)
set_target_properties(mqlocalsocketconnectionlistener PROPERTIES AUTOMOC TRUE)
target_link_libraries(mqlocalsocketconnectionlistener
  mqconnectionlistener
  mqlocalsocketconnection
  ${QT_LIBRARIES})

# local socket client
add_library(mqlocalsocketclient localsocketclient.cpp)
set_target_properties(mqlocalsocketclient PROPERTIES AUTOMOC TRUE)
target_link_libraries(mqlocalsocketclient
  molequeueclient
  mqlocalsocketconnection)

set(hdrs localsocketclient.h ${CMAKE_CURRENT_BINARY_DIR}/mqlocalsocketclientexport.h)

generate_export_header(mqlocalsocketclient EXPORT_FILE_NAME mqlocalsocketclientexport.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_compiler_export_flags(molequeue_export_flags)
set_property(TARGET mqlocalsocketclient APPEND
  PROPERTY COMPILE_FLAGS ${molequeue_export_flags})

list(APPEND hdrs
  localsocketconnection.h
  localsocketconnectionlistener.h
  )

install(FILES ${hdrs} DESTINATION "${INSTALL_INCLUDE_DIR}/molequeue/transport")
install(
  TARGETS
    mqlocalsocketconnection
    mqlocalsocketclient
    mqlocalsocketconnectionlistener
{'fraction_non_alphanumeric': 0.04890282131661442, 'fraction_numerical': 0.0, 'mean_word_length': 11.273076923076923, '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': '3009429', 'n_tokens_mistral': 1010, 'n_tokens_neox': 1013, 'n_words': 132}