<commit_before>set (RASPI_VERSION_MAJOR 0)
set (RASPI_VERSION_MINOR 0)
set (RASPI_VERSION_PATCH 1)

configure_file (
    ${CMAKE_CURRENT_SOURCE_DIR}/Config.h.in
    ${CMAKE_CURRENT_BINARY_DIR}/Config.h
)

include_directories (
    ${CMAKE_SOURCE_DIR}
    ${CMAKE_BINARY_DIR}
)

set (SOURCES
    Raspi.cpp
    RaspiCam.cpp
    )
    
add_library (stromx_raspi SHARED ${SOURCES})

add_dependencies(stromx_raspi stromx_runtime)

set(VERSION_STRING "${RASPI_VERSION_MAJOR}.${RASPI_VERSION_MINOR}.${RASPI_VERSION_PATCH}")

set_target_properties (stromx_raspi PROPERTIES
    VERSION ${VERSION_STRING}
    SOVERSION ${VERSION_STRING}
    FOLDER "library"
)

target_link_libraries (stromx_raspi
    stromx_runtime
)

install(DIRECTORY ${CMAKE_SOURCE_DIR}/stromx/raspi
    DESTINATION include/stromx
    FILES_MATCHING PATTERN "*.h"
    PATTERN "test*" EXCLUDE
)<commit_msg>Install raspi package<commit_after>set (RASPI_VERSION_MAJOR 0)
set (RASPI_VERSION_MINOR 0)
set (RASPI_VERSION_PATCH 1)

configure_file (
    ${CMAKE_CURRENT_SOURCE_DIR}/Config.h.in
    ${CMAKE_CURRENT_BINARY_DIR}/Config.h
)

include_directories (
    ${CMAKE_SOURCE_DIR}
    ${CMAKE_BINARY_DIR}
)

set (SOURCES
    Raspi.cpp
    RaspiCam.cpp
    )
    
add_library (stromx_raspi SHARED ${SOURCES})

add_dependencies(stromx_raspi stromx_runtime)

set(VERSION_STRING "${RASPI_VERSION_MAJOR}.${RASPI_VERSION_MINOR}.${RASPI_VERSION_PATCH}")

set_target_properties (stromx_raspi PROPERTIES
    VERSION ${VERSION_STRING}
    SOVERSION ${VERSION_STRING}
    FOLDER "library"
)

target_link_libraries (stromx_raspi
    stromx_runtime
)

if(WIN32)    
    install (TARGETS stromx_raspi
        RUNTIME DESTINATION .
        LIBRARY DESTINATION ${LIB_DIR}
        ARCHIVE DESTINATION ${LIB_DIR}
    )

else(WIN32)
    install (TARGETS stromx_raspi
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION ${LIB_DIR}
        ARCHIVE DESTINATION ${LIB_DIR}
    )
endif(WIN32)

install(DIRECTORY ${CMAKE_SOURCE_DIR}/stromx/raspi
    DESTINATION include/stromx
    FILES_MATCHING PATTERN "*.h"
    PATTERN "test*" EXCLUDE
)
{'fraction_non_alphanumeric': 0.09099662975445354, 'fraction_numerical': 0.005777563793933558, 'mean_word_length': 4.482849604221636, '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': '4710651', 'n_tokens_mistral': 854, 'n_tokens_neox': 791, 'n_words': 126}