<commit_before>##
## CopyDependentLibraries.cmake: This file is part of libport.
## Copyright (C) <NAME>., 2006-2008.
##
## This software is provided "as is" without warranty of any kind,
## either expressed or implied, including but not limited to the
## implied warranties of fitness for a particular purpose.
##
## See the LICENSE file for more information.
## For comments, bug reports and feedback: http://www.urbiforge.com
##

if(NOT COMMAND COPY_DEPENDENT_LIBRARIES)

include(CheckCMakeVarsExists)

# Copy dependent libraries of _target_ in target-dldep and schedule them for
# installation. It uses dldep.
function(COPY_DEPENDENT_LIBRARIES target)
  check_cmake_vars_exists(CMAKE_AUX_DIR)
  set(out "${target}-dldep")
  set(binary ${target}${CMAKE_EXECUTABLE_SUFFIX})
  set(generator ${CMAKE_AUX_DIR}/dldep)
  add_custom_target(
    ${out} ALL
    COMMAND ${generator} ${binary} ${out}
    DEPENDS ${binary} ${generator}
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    COMMENT "${CMAKE_COMMAND} -E cmake_echo_color "
    "--switch=${CMAKE_MAKEFILE_COLOR} --cyan "
    "Copying dependent libraries of '${binary}'."
    VERBATIM
    )
  set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${out})
  # The trailing backslash is need to avoid to have the last component of the
  # path installed too.
  install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${out}/
    DESTINATION lib/${target})
endfunction(COPY_DEPENDENT_LIBRARIES)

endif(NOT COMMAND COPY_DEPENDENT_LIBRARIES)<commit_msg>No longer install all dependent dynamic libraries.<commit_after>##
## CopyDependentLibraries.cmake: This file is part of libport.
## Copyright (C) <NAME>., 2006-2008.
##
## This software is provided "as is" without warranty of any kind,
## either expressed or implied, including but not limited to the
## implied warranties of fitness for a particular purpose.
##
## See the LICENSE file for more information.
## For comments, bug reports and feedback: http://www.urbiforge.com
##

if(NOT COMMAND COPY_DEPENDENT_LIBRARIES)

include(CheckCMakeVarsExists)

# Copy dependent libraries of _target_ in target-dldep and schedule them for
# installation. It uses dldep.
function(COPY_DEPENDENT_LIBRARIES target destination)
  check_cmake_vars_exists(CMAKE_AUX_DIR)
  set(binary ${target}${CMAKE_EXECUTABLE_SUFFIX})
  set(generator ${CMAKE_AUX_DIR}/dldep)
  add_custom_target(
    ${target}-dldep ALL
    COMMAND ${generator} ${binary} ${destination}
    DEPENDS ${binary} ${generator}
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    COMMENT "${CMAKE_COMMAND} -E cmake_echo_color "
    "--switch=${CMAKE_MAKEFILE_COLOR} --cyan "
    "Copying dependent libraries of '${binary}'."
    VERBATIM
    )
  set_directory_properties(PROPERTIES
    ADDITIONAL_MAKE_CLEAN_FILES ${destination})
endfunction(COPY_DEPENDENT_LIBRARIES)

endif(NOT COMMAND COPY_DEPENDENT_LIBRARIES)
{'fraction_non_alphanumeric': 0.10146443514644352, 'fraction_numerical': 0.005578800557880056, 'mean_word_length': 5.375555555555556, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4818452', 'n_tokens_mistral': 963, 'n_tokens_neox': 909, 'n_words': 253}