<commit_before>cmake_minimum_required(VERSION 2.8.7)
add_definitions(-std=c++11 -Wall -Wextra -pedantic-errors)
enable_testing()

include_directories(src)

option(USE_LIBDW "Compile tests with libdw" OFF)
add_subdirectory(test)<commit_msg>add interface target<commit_after>cmake_minimum_required(VERSION 3.0)
project(MMM CXX)

add_library(mmm INTERFACE)

include_directories(src)
target_include_directories(mmm INTERFACE src)

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  add_definitions(-DMMM_CLANG)
  target_compile_definitions(mmm INTERFACE MMM_CLANG)
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
  add_definitions(-DMMM_GNUC)
  target_compile_definitions(mmm INTERFACE MMM_GNUC)
endif()

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

option(MMM_BUILD_UNIT_TESTS "build unit tests" OFF)
if(MMM_BUILD_UNIT_TESTS)
  enable_testing()
  option(USE_LIBDW "Compile tests with libdw" OFF)
  add_subdirectory(test)
endif()
{'fraction_non_alphanumeric': 0.09619450317124736, 'fraction_numerical': 0.009513742071881607, 'mean_word_length': 9.293478260869565, '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': '3546270', 'n_tokens_mistral': 387, 'n_tokens_neox': 358, 'n_words': 61}