<commit_before>cmake_minimum_required(VERSION 3.5)

#project(polydatatransform)

find_package(ITK REQUIRED)
include(${ITK_USE_FILE})

find_package(VTK REQUIRED COMPONENTS
  vtkCommonCore
  vtkFiltersCore
  vtkIOLegacy
  vtkIOXML)
include(${VTK_USE_FILE})

find_package(SlicerExecutionModel REQUIRED)
include(${SlicerExecutionModel_USE_FILE})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Library)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})

add_subdirectory(Library)

set(LOCAL_NAME polydatatransform)
set(LOCAL_LIBRARIES 
	${ITK_LIBRARIES}
	${VTK_LIBRARIES}
  library
  )

SEMMacroBuildCLI(
  NAME ${LOCAL_NAME}
  EXECUTABLE_ONLY
  TARGET_LIBRARIES ${LOCAL_LIBRARIES}
  RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
  LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
  ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}
  INSTALL_RUNTIME_DESTINATION ${INSTALL_RUNTIME_DESTINATION}
  INSTALL_LIBRARY_DESTINATION ${INSTALL_LIBRARY_DESTINATION}
  INSTALL_ARCHIVE_DESTINATION ${INSTALL_ARCHIVE_DESTINATION}
  )

file(GLOB LIBRARY_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.txx ${CMAKE_CURRENT_SOURCE_DIR}/*.hxx ${CMAKE_CURRENT_SOURCE_DIR}/*.h)

set_target_properties(polydatatransform PROPERTIES
  PUBLIC_HEADER "${LIBRARY_HEADERS}"
  )

install( TARGETS polydatatransform 
  EXPORT niral_utilitiesTargets
  RUNTIME DESTINATION ${INSTALL_RUNTIME_DESTINATION} 
  PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}"
  )
# Add all targets to the build-tree export set
<commit_msg>STYLE: Install fiberfileIO.h for Trafic<commit_after>cmake_minimum_required(VERSION 3.5)

#project(polydatatransform)

find_package(ITK REQUIRED)
include(${ITK_USE_FILE})

find_package(VTK REQUIRED COMPONENTS
  vtkCommonCore
  vtkFiltersCore
  vtkIOLegacy
  vtkIOXML)
include(${VTK_USE_FILE})

find_package(SlicerExecutionModel REQUIRED)
include(${SlicerExecutionModel_USE_FILE})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Library)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})

add_subdirectory(Library)

set(LOCAL_NAME polydatatransform)
set(LOCAL_LIBRARIES 
	${ITK_LIBRARIES}
	${VTK_LIBRARIES}
  library
  )

SEMMacroBuildCLI(
  NAME ${LOCAL_NAME}
  EXECUTABLE_ONLY
  TARGET_LIBRARIES ${LOCAL_LIBRARIES}
  RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
  LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
  ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}
  INSTALL_RUNTIME_DESTINATION ${INSTALL_RUNTIME_DESTINATION}
  INSTALL_LIBRARY_DESTINATION ${INSTALL_LIBRARY_DESTINATION}
  INSTALL_ARCHIVE_DESTINATION ${INSTALL_ARCHIVE_DESTINATION}
  )

file(GLOB LIBRARY_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.txx ${CMAKE_CURRENT_SOURCE_DIR}/*.hxx ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
set(LIBRARY_HEADERS ${LIBRARY_HEADERS}
  ${CMAKE_CURRENT_SOURCE_DIR}/Library/fiberfileIO.h
  ${CMAKE_CURRENT_SOURCE_DIR}/Library/fiberfileIO.hxx)

set_target_properties(polydatatransform PROPERTIES
  PUBLIC_HEADER "${LIBRARY_HEADERS}"
  )

install( TARGETS polydatatransform 
  EXPORT niral_utilitiesTargets
  RUNTIME DESTINATION ${INSTALL_RUNTIME_DESTINATION} 
  PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}"
  )
# Add all targets to the build-tree export set

{'fraction_non_alphanumeric': 0.0799874529485571, 'fraction_numerical': 0.0012547051442910915, 'mean_word_length': 9.221153846153847, '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': '2246920', 'n_tokens_mistral': 1297, 'n_tokens_neox': 1183, 'n_words': 152}