<commit_before>set(VXL_INSTALL_EXPORT_NAME "${ITKVNL-targets}")
set(VXL_INSTALL_INCLUDE_DIR "${ITKVNL_INSTALL_INCLUDE_DIR}")
set(VXL_INSTALL_RUNTIME_DIR "${ITKVNL_INSTALL_RUNTIME_DIR}")
set(VXL_INSTALL_LIBRARY_DIR "${ITKVNL_INSTALL_LIBRARY_DIR}")
set(VXL_INSTALL_ARCHIVE_DIR "${ITKVNL_INSTALL_ARCHIVE_DIR}")
set(VXL_INSTALL_NO_DEVELOPMENT ${ITK_INSTALL_NO_DEVELOPMENT})
set(VXL_INSTALL_NO_LIBRARIES ${ITK_INSTALL_NO_LIBRARIES})

# vxl uses EXECUTABLE_OUTPUT_PATH to refer to test executable locations
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})

set(BUILD_DOCUMENTATION OFF)

add_subdirectory(vxl)

# The variable type of BUILD_EXAMPLES changed to INTERNAL type in VXL.
# Retrive the variable type to CACHE.
set(BUILD_EXAMPLES ${BUILD_EXAMPLES} CACHE BOOL "Build the examples from the ITK Software Guide." FORCE)

foreach(lib itkvcl itkv3p_netlib itktestlib itkvnl itkvnl_algo itknetlib)
  itk_module_target(${lib} NO_INSTALL)
endforeach()

foreach(exe
    netlib_integral_test
    netlib_lbfgs_example
    netlib_lbfgsb_example
    netlib_slamch_test
    testlib_test_all
    testlib_test_include
    testlib_test_link
    vcl_test_all
    vcl_test_include
    vnl_algo_test_all
    vnl_algo_test_include
    vnl_algo_test_template_include
    vnl_basic_operation_timings
    vnl_test_all<commit_msg>ENH: compile VNL in parallel on Visual Studio<commit_after>set(VXL_INSTALL_EXPORT_NAME "${ITKVNL-targets}")
set(VXL_INSTALL_INCLUDE_DIR "${ITKVNL_INSTALL_INCLUDE_DIR}")
set(VXL_INSTALL_RUNTIME_DIR "${ITKVNL_INSTALL_RUNTIME_DIR}")
set(VXL_INSTALL_LIBRARY_DIR "${ITKVNL_INSTALL_LIBRARY_DIR}")
set(VXL_INSTALL_ARCHIVE_DIR "${ITKVNL_INSTALL_ARCHIVE_DIR}")
set(VXL_INSTALL_NO_DEVELOPMENT ${ITK_INSTALL_NO_DEVELOPMENT})
set(VXL_INSTALL_NO_LIBRARIES ${ITK_INSTALL_NO_LIBRARIES})

# vxl uses EXECUTABLE_OUTPUT_PATH to refer to test executable locations
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})

set(BUILD_DOCUMENTATION OFF)

add_subdirectory(vxl)

# The variable type of BUILD_EXAMPLES changed to INTERNAL type in VXL.
# Retrive the variable type to CACHE.
set(BUILD_EXAMPLES ${BUILD_EXAMPLES} CACHE BOOL "Build the examples from the ITK Software Guide." FORCE)

foreach(lib itkvcl itkv3p_netlib itktestlib itkvnl itkvnl_algo itknetlib)
  itk_module_target(${lib} NO_INSTALL)
  if (MSVC)
    target_compile_definitions(${lib} PRIVATE "/MP") # enable object level parallel compilation
  endif()
endforeach()

foreach(exe
    netlib_integral_test
    netlib_lbfgs_example
    netlib_lbfgsb_example
    netlib_slamch_test
    testlib_test_all
    testlib_test_include
    testlib_test_link
    vcl_test_all
    vcl_test_include
    vnl_algo_test_all
    vnl_algo_test_include
    vnl_algo_test_template_include
    vnl_basic_operation_timings
    vnl_test_all
{'fraction_non_alphanumeric': 0.06400550584996559, 'fraction_numerical': 0.0006882312456985547, 'mean_word_length': 7.575221238938053, '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': '6947638', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1092, 'n_words': 187}