<commit_before># MegaMol
# Copyright (c) 2021, MegaMol Dev Team
# All rights reserved.
#

megamol_plugin(probe
  BUILD_DEFAULT OFF
  DEPENDS_PLUGINS
    mmadios
    mesh
    datatools
    geometry_calls
  DEPENDS_EXTERNALS
    libigl
    asmjit
    blend2d
    qhull
    PUBLIC Eigen
    nanoflann)

if (probe_PLUGIN_ENABLED)
  file(GLOB_RECURSE third RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "3rd/*")
  file(GLOB_RECURSE ospray_sources RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "probe_ospray/src/*.cpp")
  file(GLOB_RECURSE ospray_headers RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "probe_ospray/src/*.h")
  file(GLOB_RECURSE ospray_public_headers RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "probe_ospray/include/*.h")

  target_sources(probe PRIVATE ${third})
  target_include_directories(probe PUBLIC "3rd")
  
  find_package(CGAL CONFIG REQUIRED)
  target_link_libraries(probe PUBLIC CGAL::CGAL)
  if (BUILD_MMOSPRAY_PLUGIN_PLUGIN)
    target_sources(probe PRIVATE ${ospray_sources} ${ospray_headers} ${ospray_public_headers})
    target_compile_definitions(probe PRIVATE ${EXPORT_NAME}_HAS_OSPRAY)
    target_include_directories(probe PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/probe_ospray/include> "probe_ospray/src")
    target_link_libraries(probe PUBLIC mmospray)
  endif ()

endif ()<commit_msg>install directive for mpir and mpfr<commit_after># MegaMol
# Copyright (c) 2021, MegaMol Dev Team
# All rights reserved.
#

megamol_plugin(probe
  BUILD_DEFAULT OFF
  DEPENDS_PLUGINS
    mmadios
    mesh
    datatools
    geometry_calls
  DEPENDS_EXTERNALS
    libigl
    asmjit
    blend2d
    qhull
    PUBLIC Eigen
    nanoflann)

if (probe_PLUGIN_ENABLED)
  file(GLOB_RECURSE third RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "3rd/*")
  file(GLOB_RECURSE ospray_sources RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "probe_ospray/src/*.cpp")
  file(GLOB_RECURSE ospray_headers RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "probe_ospray/src/*.h")
  file(GLOB_RECURSE ospray_public_headers RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "probe_ospray/include/*.h")

  target_sources(probe PRIVATE ${third})
  target_include_directories(probe PUBLIC "3rd")
  
  find_package(CGAL CONFIG REQUIRED)
  target_link_libraries(probe PUBLIC CGAL::CGAL)
  if(WIN32)
    install(FILES "${CGAL_DIR}/../../bin/mpir.dll" "${CGAL_DIR}/../../bin/mpfr.dll" DESTINATION "bin")
  endif()
  if (BUILD_MMOSPRAY_PLUGIN_PLUGIN)
    target_sources(probe PRIVATE ${ospray_sources} ${ospray_headers} ${ospray_public_headers})
    target_compile_definitions(probe PRIVATE ${EXPORT_NAME}_HAS_OSPRAY)
    target_include_directories(probe PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/probe_ospray/include> "probe_ospray/src")
    target_link_libraries(probe PUBLIC mmospray)
  endif ()

endif ()
{'fraction_non_alphanumeric': 0.09880130766436615, 'fraction_numerical': 0.005811841627315656, 'mean_word_length': 5.668280871670702, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3599929', 'n_tokens_mistral': 1099, 'n_tokens_neox': 1010, 'n_words': 172}