<commit_before>cmake_minimum_required(VERSION 2.8.7)
include(ExternalProject)

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_COMPILER_IS_GNUCXX)
  # Workaround for Travis CI + Catch: `error: ignoring #pragma gcc diagnostic`
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-pragmas")
endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
  if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
    # Workaround for Travis CI + Catch: `suggest parentheses around comparison in operand of '=='`
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=parentheses")
    endif()
endif()

find_package(Git REQUIRED)
ExternalProject_Add(<commit_msg>Add -Wno-error=parentheses for MINGW<commit_after>cmake_minimum_required(VERSION 2.8.7)
include(ExternalProject)

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_COMPILER_IS_GNUCXX)
  # Workaround for Travis CI + Catch: `error: ignoring #pragma gcc diagnostic`
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-pragmas")
endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
  if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8 OR MINGW)
    # Workaround for Travis CI|AppVeyor + Catch: `suggest parentheses around comparison in operand of '=='`
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=parentheses")
    endif()
endif()

find_package(Git REQUIRED)
ExternalProject_Add(
{'fraction_non_alphanumeric': 0.10097965335342879, 'fraction_numerical': 0.007535795026375283, 'mean_word_length': 6.72093023255814, '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': '6845313', 'n_tokens_mistral': 557, 'n_tokens_neox': 486, 'n_words': 102}