<commit_before>
add_custom_target(integration)

# this target generates all references files with HEAD version of the source code, use it when updating the tests while not updating the libs
add_custom_target(integration_create_ref)

set(INTEGRATION_TEST TinyPlyFileLoader)
# TinyPlyFileLoader read tests
add_executable(integration_${INTEGRATION_TEST}
    ${INTEGRATION_TEST}/main.cpp)
target_link_libraries(integration_${INTEGRATION_TEST} PUBLIC Core IO)
configure_radium_app(NAME integration_${INTEGRATION_TEST})
addRunAndDebugTargets(integration_${INTEGRATION_TEST})

add_custom_target(integration_${INTEGRATION_TEST}_create_ref)
add_dependencies(integration_create_ref integration_${INTEGRATION_TEST}_create_ref)

add_custom_command(TARGET integration_${INTEGRATION_TEST}_create_ref <commit_msg>[cmake] remove integration from install and run targets.<commit_after>
add_custom_target(integration)

# this target generates all references files with HEAD version of the source code, use it when updating the tests while not updating the libs
add_custom_target(integration_create_ref)

set(INTEGRATION_TEST TinyPlyFileLoader)
# TinyPlyFileLoader read tests
add_executable(integration_${INTEGRATION_TEST}
    ${INTEGRATION_TEST}/main.cpp)
target_link_libraries(integration_${INTEGRATION_TEST} PUBLIC Core IO)

add_custom_target(integration_${INTEGRATION_TEST}_create_ref)
add_dependencies(integration_create_ref integration_${INTEGRATION_TEST}_create_ref)

add_custom_command(TARGET integration_${INTEGRATION_TEST}_create_ref 
{'fraction_non_alphanumeric': 0.06229508196721312, 'fraction_numerical': 0.0, 'mean_word_length': 11.508196721311476, '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': '6697757', 'n_tokens_mistral': 466, 'n_tokens_neox': 455, 'n_words': 96}