<commit_before>set(RXP_TEST_NAME rxptest)

include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/plugin/rxp)

find_package(RiVLib COMPONENTS scanlib REQUIRED)

include_directories(${RiVLib_INCLUDE_DIRS})
message(STATUS "Found RiVLib at: ${RiVLib_INCLUDE_DIRS}")

set(incs io/RxpReader.hpp)
set(srcs io/RxpReader.cpp)

PDAL_ADD_PLUGIN(libname reader rxp
    FILES "${srcs}" "${incs}"
    LINK_WITH ${RiVLib_SCANLIB_LIBRARY})

if (BUILD_RIVLIB_TESTS)
    configure_file(
        test/Config.hpp.in
        "${CMAKE_CURRENT_BINARY_DIR}/test/Config.hpp"
    )

    include_directories("${CMAKE_CURRENT_BINARY_DIR}/test")
    include_directories(${PROJECT_SOURCE_DIR}/plugin/rxp/io)

    PDAL_ADD_TEST(${RXP_TEST_NAME}
        FILES test/RxpReaderTest.cpp
        LINK_WITH ${libname})
endif (BUILD_RIVLIB_TESTS)
<commit_msg>Update rxp plugin's include directories<commit_after>set(RXP_TEST_NAME rxptest)

include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/plugins/rxp/io)

find_package(RiVLib COMPONENTS scanlib REQUIRED)

include_directories(${RiVLib_INCLUDE_DIRS})
message(STATUS "Found RiVLib at: ${RiVLib_INCLUDE_DIRS}")

set(incs io/RxpReader.hpp)
set(srcs io/RxpReader.cpp)

PDAL_ADD_PLUGIN(libname reader rxp
    FILES "${srcs}" "${incs}"
    LINK_WITH ${RiVLib_SCANLIB_LIBRARY})

if (BUILD_RIVLIB_TESTS)
    configure_file(
        test/Config.hpp.in
        "${CMAKE_CURRENT_BINARY_DIR}/test/Config.hpp"
    )

    include_directories("${CMAKE_CURRENT_BINARY_DIR}/test")
    include_directories(${PROJECT_SOURCE_DIR}/plugin/rxp/io)

    PDAL_ADD_TEST(${RXP_TEST_NAME}
        FILES test/RxpReaderTest.cpp
        LINK_WITH ${libname})
endif (BUILD_RIVLIB_TESTS)

{'fraction_non_alphanumeric': 0.11441647597254005, 'fraction_numerical': 0.0, 'mean_word_length': 5.675572519083969, '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': '5739286', 'n_tokens_mistral': 699, 'n_tokens_neox': 670, 'n_words': 84}