<commit_before>SET(GLOG_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/glog_project/src/glog/)
LIST(APPEND GLOG_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/glog_project/src/glog/src/)
SET(GLOG_URL https://github.com/google/glog)

ExternalProject_Add(Glog_project
        PREFIX Glog
        GIT_REPOSITORY ${GLOG_URL}
        GIT_TAG "v${GLOG_VERSION}"
        DOWNLOAD_DIR "${DOWNLOAD_LOCATION}"
        UPDATE_COMMAND ""
        BUILD_IN_SOURCE 1
        SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/glog_project/src/glog
        CONFIGURE_COMMAND ${CMAKE_COMMAND}
        -DBUILD_TESTING=OFF
        -DCMAKE_POSITION_INDEPENDENT_CODE=ON
        ${Glogs_ADDITIONAL_CMAKE_OPTIONS}
        INSTALL_COMMAND ""
        CMAKE_CACHE_ARGS
        -DCMAKE_BUILD_TYPE:STRING=Release
        -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF
        -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON)

ADD_LIBRARY(GLOG STATIC IMPORTED) <commit_msg>Make glog depend on gflags<commit_after>SET(GLOG_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/glog_project/src/glog/)
LIST(APPEND GLOG_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/glog_project/src/glog/src/)
SET(GLOG_URL https://github.com/google/glog)

ExternalProject_Add(Glog_project
        PREFIX Glog
        GIT_REPOSITORY ${GLOG_URL}
        GIT_TAG "v${GLOG_VERSION}"
        DOWNLOAD_DIR "${DOWNLOAD_LOCATION}"
        UPDATE_COMMAND ""
        BUILD_IN_SOURCE 1
        SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/glog_project/src/glog
        CONFIGURE_COMMAND ${CMAKE_COMMAND}
        -DBUILD_TESTING=OFF
        -DCMAKE_POSITION_INDEPENDENT_CODE=ON
        ${Glogs_ADDITIONAL_CMAKE_OPTIONS}
        INSTALL_COMMAND ""
        CMAKE_CACHE_ARGS
        -DCMAKE_BUILD_TYPE:STRING=Release
        -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF
        -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON)

IF(NOT gflags_FOUND)
    ADD_DEPENDENCIES(Glog_project gflags_project)
ENDIF()

ADD_LIBRARY(GLOG STATIC IMPORTED) 
{'fraction_non_alphanumeric': 0.08337730870712401, 'fraction_numerical': 0.0010554089709762533, 'mean_word_length': 3.8491048593350383, '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': '3917312', 'n_tokens_mistral': 737, 'n_tokens_neox': 691, 'n_words': 77}