<commit_before>
find_package(SWIG REQUIRED)
include(mitkLanguageOptions)
include(UseSWIG)

include(mitkSwigAddLibraryDependencies)
include(mitkSwigPrepareFiles)

# Path to common files
set(MITK_WRAPPING_COMMON_DIR ${MITK_SOURCE_DIR}/Wrapping/Common)
# make a manual list of dependencies for the Swig.i files
list( APPEND SWIG_EXTRA_DEPS
  "${MITK_WRAPPING_COMMON_DIR}/MITK_Common.i"
  )

# A general packaging target, not built by default, to build packages for each
# language.  This should depend on all language specific targets.

add_custom_target( dist ${CMAKE_COMMAND} -E echo "Finished generating wrapped packages for distribution..." )

#
# lua SWIG configuration
#
#if ( WRAP_LUA )
#  add_subdirectory ( Lua )
#endif()

#
# python SWIG configuration
#
if ( WRAP_PYTHON )
  add_subdirectory ( Python )
endif()

#
# ruby SWIG configuration
#
#if ( WRAP_RUBY )
#  add_subdirectory ( Ruby )
#endif()

#
# JAVA SWIG configuration
#
#if ( WRAP_JAVA )
#  add_subdirectory( Java )
#endif()

#
# C# SWIG configuration
#
#if ( WRAP_CSHARP )
#  add_subdirectory ( CSharp )
#endif()

#
# TCL SWIG configuration
#
#if ( WRAP_TCL )
#  add_subdirectory ( Tcl )
#endif()

#
# R SWIG configuration
#
#if ( WRAP_R )
#  add_subdirectory( R )
#endif()<commit_msg>Call find_package(SWIG) in QUIET mode<commit_after>find_package(SWIG QUIET)

if(SWIG_FOUND)
  include(mitkLanguageOptions)
  include(UseSWIG)

  include(mitkSwigAddLibraryDependencies)
  include(mitkSwigPrepareFiles)

  # Path to common files
  set(MITK_WRAPPING_COMMON_DIR ${MITK_SOURCE_DIR}/Wrapping/Common)
  # make a manual list of dependencies for the Swig.i files
  list( APPEND SWIG_EXTRA_DEPS
    "${MITK_WRAPPING_COMMON_DIR}/MITK_Common.i"
    )

  # A general packaging target, not built by default, to build packages for each
  # language.  This should depend on all language specific targets.

  add_custom_target( dist ${CMAKE_COMMAND} -E echo "Finished generating wrapped packages for distribution..." )

  #
  # lua SWIG configuration
  #
  #if ( WRAP_LUA )
  #  add_subdirectory ( Lua )
  #endif()

  #
  # python SWIG configuration
  #
  if ( WRAP_PYTHON )
    add_subdirectory ( Python )
  endif()

  #
  # ruby SWIG configuration
  #
  #if ( WRAP_RUBY )
  #  add_subdirectory ( Ruby )
  #endif()

  #
  # JAVA SWIG configuration
  #
  #if ( WRAP_JAVA )
  #  add_subdirectory( Java )
  #endif()

  #
  # C# SWIG configuration
  #
  #if ( WRAP_CSHARP )
  #  add_subdirectory ( CSharp )
  #endif()

  #
  # TCL SWIG configuration
  #
  #if ( WRAP_TCL )
  #  add_subdirectory ( Tcl )
  #endif()

  #
  # R SWIG configuration
  #
  #if ( WRAP_R )
  #  add_subdirectory( R )
  #endif()
endif()
{'fraction_non_alphanumeric': 0.10082768999247554, 'fraction_numerical': 0.0, 'mean_word_length': 3.9700934579439253, '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': '2606730', 'n_tokens_mistral': 1005, 'n_tokens_neox': 977, 'n_words': 236}