<commit_before>set(SUBSYS_NAME features)
set(SUBSYS_DESC "Point cloud features library")
set(SUBSYS_DEPS common kdtree range_image filters)

set(build TRUE)
PCL_SUBSYS_OPTION(build ${SUBSYS_NAME} ${SUBSYS_DESC} ON)
PCL_SUBSYS_DEPEND(build ${SUBSYS_NAME} ${SUBSYS_DEPS})

if(build)
    include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

    set(incs include/pcl/${SUBSYS_NAME}/cvfh.h
        include/pcl/${SUBSYS_NAME}/feature.h
        include/pcl/${SUBSYS_NAME}/fpfh.h
        include/pcl/${SUBSYS_NAME}/fpfh_omp.h
        include/pcl/${SUBSYS_NAME}/integral_image_2d.h
        include/pcl/${SUBSYS_NAME}/integral_image_normal.h
        include/pcl/${SUBSYS_NAME}/intensity_gradient.h
        include/pcl/${SUBSYS_NAME}/intensity_spin.h
        include/pcl/${SUBSYS_NAME}/moment_invariants.h
        include/pcl/${SUBSYS_NAME}/multiscale_feature_persistence.h
        include/pcl/${SUBSYS_NAME}/narf.h
        include/pcl/${SUBSYS_NAME}/narf_descriptor.h
        include/pcl/${SUBSYS_NAME}/normal_3d.h
        include/pcl/${SUBSYS_NAME}/normal_3d_omp.h
        include/pcl/${SUBSYS_NAME}/normal_based_signature.h
        include/pcl/${SUBSYS_NAME}/pfh.h
        include/pcl/${SUBSYS_NAME}/pfhrgb.h
        include/pcl/${SUBSYS_NAME}/ppf.h
		include/pcl/${SUBSYS_NAME}/ppfrgb.h
        include/pcl/${SUBSYS_NAME}/shot.h
        include/pcl/${SUBSYS_NAME}/shot_omp.h
        include/pcl/${SUBSYS_NAME}/spin_image.h
        include/pcl/${SUBSYS_NAME}/principal_curvatures.h
        include/pcl/${SUBSYS_NAME}/rift.h
        include/pcl/${SUBSYS_NAME}/rsd.h
        include/pcl/${SUBSYS_NAME}/statistical_multiscale_interest_region_extraction.h
        include/pcl/${SUBSYS_NAME}/vfh.h
		)
		
    set(feature_evaluation_incs
        include/pcl/${SUBSYS_NAME}/feature_evaluation/feature_evaluation_framework.h
        include/pcl/${SUBSYS_NAME}/feature_evaluation/feature_test.h
        )

    set(impl_incs include/pcl/${SUBSYS_NAME}/impl/cvfh.hpp
        include/pcl/${SUBSYS_NAME}/impl/feature.hpp
        include/pcl/${SUBSYS_NAME}/impl/fpfh.hpp
        include/pcl/${SUBSYS_NAME}/impl/fpfh_omp.hpp
        include/pcl/${SUBSYS_NAME}/impl/integral_image_2d.hpp
        include/pcl/${SUBSYS_NAME}/impl/integral_image_normal.hpp
        include/pcl/${SUBSYS_NAME}/impl/intensity_gradient.hpp
        include/pcl/${SUBSYS_NAME}/impl/intensity_spin.hpp
        include/pcl/${SUBSYS_NAME}/impl/moment_invariants.hpp
        include/pcl/${SUBSYS_NAME}/impl/multiscale_feature_persistence.hpp
        include/pcl/${SUBSYS_NAME}/impl/narf.hpp
        include/pcl/${SUBSYS_NAME}/impl/normal_3d.hpp
        include/pcl/${SUBSYS_NAME}/impl/normal_3d_omp.hpp
        include/pcl/${SUBSYS_NAME}/impl/normal_based_signature.hpp
        include/pcl/${SUBSYS_NAME}/impl/pfh.hpp
        include/pcl/${SUBSYS_NAME}/impl/pfhrgb.hpp
        include/pcl/${SUBSYS_NAME}/impl/ppf.hpp
        include/pcl/${SUBSYS_NAME}/impl/ppfrgb.hpp
        include/pcl/${SUBSYS_NAME}/impl/shot.hpp
        include/pcl/${SUBSYS_NAME}/impl/shot_omp.hpp
        include/pcl/${SUBSYS_NAME}/impl/spin_image.hpp
        include/pcl/${SUBSYS_NAME}/impl/principal_curvatures.hpp
        include/pcl/${SUBSYS_NAME}/impl/rift.hpp
        include/pcl/${SUBSYS_NAME}/impl/rsd.hpp
        include/pcl/${SUBSYS_NAME}/impl/statistical_multiscale_interest_region_extraction.hpp
        include/pcl/${SUBSYS_NAME}/impl/vfh.hpp
        )

    set(srcs src/feature.cpp
        src/cvfh.cpp
        src/fpfh.cpp
        src/fpfh_omp.cpp
        src/integral_image_normal.cpp
        src/intensity_gradient.cpp
        src/intensity_spin.cpp
        src/moment_invariants.cpp
        src/multiscale_feature_persistence.cpp
        src/narf.cpp
        src/narf_descriptor.cpp
        src/normal_3d.cpp
        src/normal_3d_omp.cpp
        src/normal_based_signature.cpp
        src/pfh.cpp
        src/pfhrgb.cpp
        src/ppf.cpp
		src/ppfrgb.cpp
        src/shot.cpp
        src/shot_omp.cpp
        src/spin_image.cpp
        src/principal_curvatures.cpp
        src/rift.cpp
        src/rsd.cpp 
        src/statistical_multiscale_interest_region_extraction.cpp                               
        src/vfh.cpp
        )

    set(LIB_NAME pcl_${SUBSYS_NAME})
    PCL_ADD_LIBRARY(${LIB_NAME} ${SUBSYS_NAME} ${srcs} ${incs} ${impl_incs})
    PCL_ADD_SSE_FLAGS(${LIB_NAME})
    PCL_ADD_OPENMP_FLAGS(${LIB_NAME})
    PCL_LINK_OPENMP(${LIB_NAME})
    target_link_libraries(${LIB_NAME} pcl_range_image pcl_kdtree pcl_filters)
    PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}"
      "${SUBSYS_DEPS}" "" "" "" "")
    # Install headers
    PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_NAME} ${incs})
    PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_NAME}/feature_evaluation ${feature_evaluation_incs})
    PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_NAME}/impl ${impl_incs})<commit_msg>removed pcl_features' dependency on pcl_filters<commit_after>set(SUBSYS_NAME features)
set(SUBSYS_DESC "Point cloud features library")
set(SUBSYS_DEPS common kdtree range_image)

set(build TRUE)
PCL_SUBSYS_OPTION(build ${SUBSYS_NAME} ${SUBSYS_DESC} ON)
PCL_SUBSYS_DEPEND(build ${SUBSYS_NAME} ${SUBSYS_DEPS})

if(build)
    include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

    set(incs include/pcl/${SUBSYS_NAME}/cvfh.h
        include/pcl/${SUBSYS_NAME}/feature.h
        include/pcl/${SUBSYS_NAME}/fpfh.h
        include/pcl/${SUBSYS_NAME}/fpfh_omp.h
        include/pcl/${SUBSYS_NAME}/integral_image_2d.h
        include/pcl/${SUBSYS_NAME}/integral_image_normal.h
        include/pcl/${SUBSYS_NAME}/intensity_gradient.h
        include/pcl/${SUBSYS_NAME}/intensity_spin.h
        include/pcl/${SUBSYS_NAME}/moment_invariants.h
        include/pcl/${SUBSYS_NAME}/multiscale_feature_persistence.h
        include/pcl/${SUBSYS_NAME}/narf.h
        include/pcl/${SUBSYS_NAME}/narf_descriptor.h
        include/pcl/${SUBSYS_NAME}/normal_3d.h
        include/pcl/${SUBSYS_NAME}/normal_3d_omp.h
        include/pcl/${SUBSYS_NAME}/normal_based_signature.h
        include/pcl/${SUBSYS_NAME}/pfh.h
        include/pcl/${SUBSYS_NAME}/pfhrgb.h
        include/pcl/${SUBSYS_NAME}/ppf.h
		include/pcl/${SUBSYS_NAME}/ppfrgb.h
        include/pcl/${SUBSYS_NAME}/shot.h
        include/pcl/${SUBSYS_NAME}/shot_omp.h
        include/pcl/${SUBSYS_NAME}/spin_image.h
        include/pcl/${SUBSYS_NAME}/principal_curvatures.h
        include/pcl/${SUBSYS_NAME}/rift.h
        include/pcl/${SUBSYS_NAME}/rsd.h
        include/pcl/${SUBSYS_NAME}/statistical_multiscale_interest_region_extraction.h
        include/pcl/${SUBSYS_NAME}/vfh.h
		)
		
    set(feature_evaluation_incs
        include/pcl/${SUBSYS_NAME}/feature_evaluation/feature_evaluation_framework.h
        include/pcl/${SUBSYS_NAME}/feature_evaluation/feature_test.h
        )

    set(impl_incs include/pcl/${SUBSYS_NAME}/impl/cvfh.hpp
        include/pcl/${SUBSYS_NAME}/impl/feature.hpp
        include/pcl/${SUBSYS_NAME}/impl/fpfh.hpp
        include/pcl/${SUBSYS_NAME}/impl/fpfh_omp.hpp
        include/pcl/${SUBSYS_NAME}/impl/integral_image_2d.hpp
        include/pcl/${SUBSYS_NAME}/impl/integral_image_normal.hpp
        include/pcl/${SUBSYS_NAME}/impl/intensity_gradient.hpp
        include/pcl/${SUBSYS_NAME}/impl/intensity_spin.hpp
        include/pcl/${SUBSYS_NAME}/impl/moment_invariants.hpp
        include/pcl/${SUBSYS_NAME}/impl/multiscale_feature_persistence.hpp
        include/pcl/${SUBSYS_NAME}/impl/narf.hpp
        include/pcl/${SUBSYS_NAME}/impl/normal_3d.hpp
        include/pcl/${SUBSYS_NAME}/impl/normal_3d_omp.hpp
        include/pcl/${SUBSYS_NAME}/impl/normal_based_signature.hpp
        include/pcl/${SUBSYS_NAME}/impl/pfh.hpp
        include/pcl/${SUBSYS_NAME}/impl/pfhrgb.hpp
        include/pcl/${SUBSYS_NAME}/impl/ppf.hpp
        include/pcl/${SUBSYS_NAME}/impl/ppfrgb.hpp
        include/pcl/${SUBSYS_NAME}/impl/shot.hpp
        include/pcl/${SUBSYS_NAME}/impl/shot_omp.hpp
        include/pcl/${SUBSYS_NAME}/impl/spin_image.hpp
        include/pcl/${SUBSYS_NAME}/impl/principal_curvatures.hpp
        include/pcl/${SUBSYS_NAME}/impl/rift.hpp
        include/pcl/${SUBSYS_NAME}/impl/rsd.hpp
        include/pcl/${SUBSYS_NAME}/impl/statistical_multiscale_interest_region_extraction.hpp
        include/pcl/${SUBSYS_NAME}/impl/vfh.hpp
        )

    set(srcs src/feature.cpp
        src/cvfh.cpp
        src/fpfh.cpp
        src/fpfh_omp.cpp
        src/integral_image_normal.cpp
        src/intensity_gradient.cpp
        src/intensity_spin.cpp
        src/moment_invariants.cpp
        src/multiscale_feature_persistence.cpp
        src/narf.cpp
        src/narf_descriptor.cpp
        src/normal_3d.cpp
        src/normal_3d_omp.cpp
        src/normal_based_signature.cpp
        src/pfh.cpp
        src/pfhrgb.cpp
        src/ppf.cpp
		src/ppfrgb.cpp
        src/shot.cpp
        src/shot_omp.cpp
        src/spin_image.cpp
        src/principal_curvatures.cpp
        src/rift.cpp
        src/rsd.cpp 
        src/statistical_multiscale_interest_region_extraction.cpp                               
        src/vfh.cpp
        )

    set(LIB_NAME pcl_${SUBSYS_NAME})
    PCL_ADD_LIBRARY(${LIB_NAME} ${SUBSYS_NAME} ${srcs} ${incs} ${impl_incs})
    PCL_ADD_SSE_FLAGS(${LIB_NAME})
    PCL_ADD_OPENMP_FLAGS(${LIB_NAME})
    PCL_LINK_OPENMP(${LIB_NAME})
    target_link_libraries(${LIB_NAME} pcl_range_image pcl_kdtree)
    PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}"
      "${SUBSYS_DEPS}" "" "" "" "")
    # Install headers
    PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_NAME} ${incs})
    PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_NAME}/feature_evaluation ${feature_evaluation_incs})
    PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_NAME}/impl ${impl_incs})
{'fraction_non_alphanumeric': 0.12670103092783505, 'fraction_numerical': 0.0016494845360824743, 'mean_word_length': 3.047142261159783, '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': '1515078', 'n_tokens_mistral': 3539, 'n_tokens_neox': 3723, 'n_words': 275}