<commit_before>
#-----------------------------------------------------------------------------
# Get and build itk

set(ITK_LANGUAGES_VARS
      PYTHON_EXECUTABLE
      PYTHON_INCLUDE_DIR
      )

VariableListToCache( ITK_LANGUAGES_VARS  ep_languages_cache )
VariableListToArgs( ITK_LANGUAGES_VARS  ep_languages_args )


set(proj ITK)  ## Use ITK convention of calling it ITK
set(ITK_REPOSITORY git://itk.org/ITK.git)

# NOTE: it is very important to update the ITK_DIR path with the
# A version in the ITK 4.3 development which contains a patch for
# SignedDanielssonDistanceMap
set(ITK_TAG_COMMAND GIT_TAG af8d6ee5f9fa46a916b8b46e03a0b10b38b23e80 )

if( ${ITK_WRAPPING} OR ${BUILD_SHARED_LIBS} )
  set( ITK_BUILD_SHARED_LIBS ON )
else()
  set( ITK_BUILD_SHARED_LIBS OFF )
endif()


file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" "${ep_languages_cache}\n${ep_common_cache}" )

ExternalProject_Add(${proj}
  GIT_REPOSITORY ${ITK_REPOSITORY}
  ${ITK_TAG_COMMAND}
  UPDATE_COMMAND ""
  SOURCE_DIR ${proj}
  BINARY_DIR ${proj}-build
  CMAKE_GENERATOR ${gen}
  CMAKE_ARGS
  --no-warn-unused-cli
  -C "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt"
  ${ep_common_args}
  ${ep_languages_args}<commit_msg>Updating ITK revision in Superbuild<commit_after>
#-----------------------------------------------------------------------------
# Get and build itk

set(ITK_LANGUAGES_VARS
      PYTHON_EXECUTABLE
      PYTHON_INCLUDE_DIR
      )

VariableListToCache( ITK_LANGUAGES_VARS  ep_languages_cache )
VariableListToArgs( ITK_LANGUAGES_VARS  ep_languages_args )


set(proj ITK)  ## Use ITK convention of calling it ITK
set(ITK_REPOSITORY git://itk.org/ITK.git)

# NOTE: it is very important to update the ITK_DIR path with the
# A version in the ITK 4.3 development which contains a patch for
# SignedDanielssonDistanceMap
set(ITK_TAG_COMMAND GIT_TAG 13413feff842253c98304886e34e3e6a434c37f8 )

if( ${ITK_WRAPPING} OR ${BUILD_SHARED_LIBS} )
  set( ITK_BUILD_SHARED_LIBS ON )
else()
  set( ITK_BUILD_SHARED_LIBS OFF )
endif()


file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" "${ep_languages_cache}\n${ep_common_cache}" )

ExternalProject_Add(${proj}
  GIT_REPOSITORY ${ITK_REPOSITORY}
  ${ITK_TAG_COMMAND}
  UPDATE_COMMAND ""
  SOURCE_DIR ${proj}
  BINARY_DIR ${proj}-build
  CMAKE_GENERATOR ${gen}
  CMAKE_ARGS
  --no-warn-unused-cli
  -C "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt"
  ${ep_common_args}
  ${ep_languages_args}
{'fraction_non_alphanumeric': 0.15347721822541965, 'fraction_numerical': 0.02238209432454037, 'mean_word_length': 3.879142300194932, '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': '794288', 'n_tokens_mistral': 1016, 'n_tokens_neox': 948, 'n_words': 173}