<commit_before>CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0)

PROJECT(Parse4880)

IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
  SET(CMAKE_CXX_FLAGS
    "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -Wextra -pedantic -g -Wno-sign-compare -Wno-unused-parameter")
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
  SET(CMAKE_CXX_FLAGS
    "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Werror -ftemplate-depth=1024 -Wunreachable-code -Wimplicit-fallthrough -g")
ENDIF()

# Boost
FIND_PACKAGE(Boost REQUIRED)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

# Crypto++
FIND_LIBRARY(CRYPTOPP_LIBRARIES crypto++)
IF(NOT CRYPTOPP_LIBRARIES)
  MESSAGE(SEND_ERROR "Could not find Crypto++")<commit_msg>Changed std=c++11 for old GCC.<commit_after>CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0)

PROJECT(Parse4880)

IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
  IF(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.6)
    SET(GCC_CXX_STD "c++11")
  ELSE()
    SET(GCC_CXX_STD "c++0x")
  ENDIF()
  SET(CMAKE_CXX_FLAGS
    "${CMAKE_CXX_FLAGS} -std=${GCC_CXX_STD} -Wall -Werror -Wextra -pedantic -g -Wno-sign-compare -Wno-unused-parameter")
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
  SET(CMAKE_CXX_FLAGS
    "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Werror -ftemplate-depth=1024 -Wunreachable-code -Wimplicit-fallthrough -g")
ENDIF()

# Boost
FIND_PACKAGE(Boost REQUIRED)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

# Crypto++
FIND_LIBRARY(CRYPTOPP_LIBRARIES crypto++)
IF(NOT CRYPTOPP_LIBRARIES)
  MESSAGE(SEND_ERROR "Could not find Crypto++")
{'fraction_non_alphanumeric': 0.13049267643142476, 'fraction_numerical': 0.02330226364846871, 'mean_word_length': 6.296116504854369, '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': '2041804', 'n_tokens_mistral': 721, 'n_tokens_neox': 640, 'n_words': 100}