<commit_before>#
# External libraries
#
#
# Most of these libraries are used for running comparison benchmarks against
# other logging libraries.

add_subdirectory(zf_log)

add_subdirectory(glog)

add_library(easylogging INTERFACE)
set(SPDLOG_VENDORED_EASYLOGGING_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/easyloggingpp" CACHE INTERNAL "" FORCE)
target_include_directories(easylogging INTERFACE "${SPDLOG_VENDORED_EASYLOGGING_ROOT}/src")

add_subdirectory(g3log)


#add_library(zflog INTERFACE)
#set(SPDLOG_VENDORED_ZFLOG_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/zf_log" CACHE INTERNAL "" FORCE)
#target_include_directories(zflog INTERFACE "${SPDLOG_VENDORED_ZFLOG_ROOT}/zf_log")
##target_compile_definitions(zflog INTERFACE ZFLOG_DEFINITIONS)

<commit_msg>Make vendor targets optional.<commit_after>#
# External libraries
#
#
# Most of these libraries are used for running comparison benchmarks against
# other logging libraries.

if(IS_DIRECTORY zf_log)
    add_subdirectory(zf_log)
endif()

if(IS_DIRECTORY glog)
    add_subdirectory(glog)
endif()

if(IS_DIRECTORY easyloggingpp)
    add_library(easylogging INTERFACE)
    set(SPDLOG_VENDORED_EASYLOGGING_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/easyloggingpp" CACHE INTERNAL "" FORCE)
    target_include_directories(easylogging INTERFACE "${SPDLOG_VENDORED_EASYLOGGING_ROOT}/src")
endif()

if(IS_DIRECTORY g3log)
    add_subdirectory(g3log)
endif()

{'fraction_non_alphanumeric': 0.08399710354815351, 'fraction_numerical': 0.002172338884866039, 'mean_word_length': 8.465753424657533, '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': '6236004', 'n_tokens_mistral': 515, 'n_tokens_neox': 503, 'n_words': 88}