<commit_before>set(GTEST_PREFIX "${CMAKE_BINARY_DIR}")
set(GTEST_INSTALL_DIR "${GTEST_PREFIX}/install")

include(ExternalProject)
ExternalProject_Add(googletest
                    GIT_REPOSITORY https://github.com/google/googletest
                    CMAKE_ARGS
                        "-DCMAKE_INSTALL_PREFIX=${GTEST_INSTALL_DIR}"
                        "-DCMAKE_C_FLAGS=-std=c++11"
                    PREFIX "${GTEST_PREFIX}")

set(GTEST_INCLUDE_DIRS ${GTEST_INSTALL_DIR}/include)
set(GTEST_LIBRARY_DIRS ${GTEST_INSTALL_DIR}/lib)
set(GTEST_LIBRARIES gtest gtest_main gmock pthread)

function(add_prefix_to_all_symbols TARGET_NAME PREFIX IN_LIBRARY_TARGET)<commit_msg>Do not require internet access while updating gtest<commit_after>set(GTEST_PREFIX "${CMAKE_BINARY_DIR}")
set(GTEST_INSTALL_DIR "${GTEST_PREFIX}/install")

include(ExternalProject)
ExternalProject_Add(googletest
                    GIT_REPOSITORY https://github.com/google/googletest
                    UPDATE_DISCONNECTED 1
                    CMAKE_ARGS
                        "-DCMAKE_INSTALL_PREFIX=${GTEST_INSTALL_DIR}"
                        "-DCMAKE_C_FLAGS=-std=c++11"
                    PREFIX "${GTEST_PREFIX}")

set(GTEST_INCLUDE_DIRS ${GTEST_INSTALL_DIR}/include)
set(GTEST_LIBRARY_DIRS ${GTEST_INSTALL_DIR}/lib)
set(GTEST_LIBRARIES gtest gtest_main gmock pthread)

function(add_prefix_to_all_symbols TARGET_NAME PREFIX IN_LIBRARY_TARGET)
{'fraction_non_alphanumeric': 0.08976157082748948, 'fraction_numerical': 0.0035063113604488078, 'mean_word_length': 3.404320987654321, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5244971', 'n_tokens_mistral': 497, 'n_tokens_neox': 446, 'n_words': 60}