<commit_before>set(plugins
    disksampler.cpp
    node-control.cpp
    patch-cable.cpp
    sampler.cpp
    sine.c
    soundfile_api_dummy.cpp
    soundfile_api_extaudiofile.cpp
    soundfile_api_libsndfile.cpp
    soundfile_api_mpg123.cpp
)

foreach(plugin ${plugins})
    get_filename_component(plugin_target ${plugin} NAME_WE)
    add_library(${plugin_target} ${plugin})
    target_include_directories(${plugin_target} PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../external_libraries/oscpp/include>
        $<INSTALL_INTERFACE:include>
    )<commit_msg>Compile ExtAudioFile sound file API only on Apple OSs<commit_after>set(plugins
    disksampler.cpp
    node-control.cpp
    patch-cable.cpp
    sampler.cpp
    sine.c
    soundfile_api_dummy.cpp
    soundfile_api_libsndfile.cpp
    soundfile_api_mpg123.cpp
)

if (APPLE)
    set(plugins
        ${plugins}
        soundfile_api_extaudiofile.cpp
    )
endif ()

foreach(plugin ${plugins})
    get_filename_component(plugin_target ${plugin} NAME_WE)
    add_library(${plugin_target} ${plugin})
    target_include_directories(${plugin_target} PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../external_libraries/oscpp/include>
        $<INSTALL_INTERFACE:include>
    )
{'fraction_non_alphanumeric': 0.10317460317460317, 'fraction_numerical': 0.004329004329004329, 'mean_word_length': 3.971326164874552, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '476679', 'n_tokens_mistral': 482, 'n_tokens_neox': 463, 'n_words': 57}