<commit_before>set(KMS_SDP_AGENT_SOURCES
  kmssdpagent.c
  kmssdpcontext.c
  kmssdpmediahandler.c
  kmssdprtpmediahandler.c
  kmssdprtpavpfmediahandler.c
  kmssdprtpavpmediahandler.c
  kmssdprtpsavpfmediahandler.c
  kmssdpsctpmediahandler.c
  kmsisdppayloadmanager.c
  kmssdppayloadmanager.c
)

set(KMS_SDP_AGENT_HEADERS
  kmssdpagent.h
  kmssdpcontext.h
  kmssdpmediahandler.h
  kmssdprtpmediahandler.h
  kmssdprtpavpfmediahandler.h
  kmssdprtpavpmediahandler.h
  kmssdprtpsavpfmediahandler.h
  kmssdpsctpmediahandler.h
  kmsisdppayloadmanager.h
  kmssdppayloadmanager.h
)

add_library(kmssdpagent SHARED ${KMS_SDP_AGENT_SOURCES} ${KMS_SDP_AGENT_HEADERS})

add_dependencies(kmssdpagent kmsutils sdputils)

set_target_properties(kmssdpagent PROPERTIES PUBLIC_HEADER "${KMS_SDP_AGENT_HEADERS}")

set_target_properties(kmssdpagent PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})

target_link_libraries(kmssdpagent
  ${gstreamer-1.5_LIBRARIES}
  ${gstreamer-base-1.5_LIBRARIES}
  ${gstreamer-sdp-1.5_LIBRARIES}
  ${gstreamer-pbutils-1.5_LIBRARIES}
  kmsutils
  sdputils
)

set(CUSTOM_PREFIX "kurento")
set(INCLUDE_PREFIX "${CMAKE_INSTALL_INCLUDEDIR}/${CUSTOM_PREFIX}/sdpagent")

install(
  TARGETS kmssdpagent
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
  LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
  ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
  PUBLIC_HEADER DESTINATION ${INCLUDE_PREFIX}
)
<commit_msg>Revert "sdpagent, CMakeLists: fix prefix"<commit_after>set(KMS_SDP_AGENT_SOURCES
  kmssdpagent.c
  kmssdpcontext.c
  kmssdpmediahandler.c
  kmssdprtpmediahandler.c
  kmssdprtpavpfmediahandler.c
  kmssdprtpavpmediahandler.c
  kmssdprtpsavpfmediahandler.c
  kmssdpsctpmediahandler.c
  kmsisdppayloadmanager.c
  kmssdppayloadmanager.c
)

set(KMS_SDP_AGENT_HEADERS
  kmssdpagent.h
  kmssdpcontext.h
  kmssdpmediahandler.h
  kmssdprtpmediahandler.h
  kmssdprtpavpfmediahandler.h
  kmssdprtpavpmediahandler.h
  kmssdprtpsavpfmediahandler.h
  kmssdpsctpmediahandler.h
  kmsisdppayloadmanager.h
  kmssdppayloadmanager.h
)

add_library(kmssdpagent SHARED ${KMS_SDP_AGENT_SOURCES} ${KMS_SDP_AGENT_HEADERS})

add_dependencies(kmssdpagent kmsutils sdputils)

set_target_properties(kmssdpagent PROPERTIES PUBLIC_HEADER "${KMS_SDP_AGENT_HEADERS}")

set_target_properties(kmssdpagent PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})

target_link_libraries(kmssdpagent
  ${gstreamer-1.5_LIBRARIES}
  ${gstreamer-base-1.5_LIBRARIES}
  ${gstreamer-sdp-1.5_LIBRARIES}
  ${gstreamer-pbutils-1.5_LIBRARIES}
  kmsutils
  sdputils
)

install(
  TARGETS kmssdpagent
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
  LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
  ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
  PUBLIC_HEADER DESTINATION ${INCLUDE_PREFIX}
)

{'fraction_non_alphanumeric': 0.07255747126436782, 'fraction_numerical': 0.005747126436781609, 'mean_word_length': 7.143274853801169, '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': '2266571', 'n_tokens_mistral': 1228, 'n_tokens_neox': 1180, 'n_words': 130}