<commit_before># set headers used for clang format
set(ECU_INTERFACE_HEADERS ecuinterface.h)

set(MAIN_ECU_INTERFACE_SRC ecuinterface.cc)

add_executable(example-interface ${MAIN_ECU_INTERFACE_SRC} example_interface.cc)
target_link_libraries(example-interface aktualizr_static_lib ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})

add_executable(aktualizr-validate-secondary-interface validate_secondary_interface_test.cc)
set_property(TARGET aktualizr-validate-secondary-interface PROPERTY CXX_STANDARD 11)
target_link_libraries(aktualizr-validate-secondary-interface ${Boost_LIBRARIES} gtest)

aktualizr_source_file_checks(${MAIN_ECU_INTERFACE_SRC} ${ECU_INTERFACE_HEADERS} example_interface.cc)


# vim: set tabstop=4 shiftwidth=4 expandtab:<commit_msg>Fix gcov build dependency<commit_after># set headers used for clang format
set(ECU_INTERFACE_HEADERS ecuinterface.h)

set(MAIN_ECU_INTERFACE_SRC ecuinterface.cc)

add_executable(example-interface ${MAIN_ECU_INTERFACE_SRC} example_interface.cc)
target_link_libraries(example-interface aktualizr_static_lib ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})

add_executable(aktualizr-validate-secondary-interface validate_secondary_interface_test.cc)
set_property(TARGET aktualizr-validate-secondary-interface PROPERTY CXX_STANDARD 11)
target_link_libraries(aktualizr-validate-secondary-interface ${Boost_LIBRARIES} gtest)

if(BUILD_WITH_CODE_COVERAGE)
    target_link_libraries(example-interface gcov)
    target_link_libraries(aktualizr-validate-secondary-interface gcov)
endif(BUILD_WITH_CODE_COVERAGE)

aktualizr_source_file_checks(${MAIN_ECU_INTERFACE_SRC} ${ECU_INTERFACE_HEADERS} example_interface.cc)

install(TARGETS example-interface RUNTIME DESTINATION bin)

# vim: set tabstop=4 shiftwidth=4 expandtab:
{'fraction_non_alphanumeric': 0.07556818181818181, 'fraction_numerical': 0.004545454545454545, 'mean_word_length': 11.144827586206896, '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': '4612622', 'n_tokens_mistral': 614, 'n_tokens_neox': 597, 'n_words': 85}