<commit_before>project( casmi )
cmake_minimum_required( VERSION 2.6 )

enable_testing()

set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${casmi_BINARY_DIR}/bin )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${casmi_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${casmi_BINARY_DIR}/lib )

# when -pendantic is used, -Wvariadic-macros cannot be disabled in gcc
set( CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -O3 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE" )

set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DCASMI_DEBUG")

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  # using Clang<commit_msg>Add profile build with gprof<commit_after>project( casmi )
cmake_minimum_required( VERSION 2.6 )

enable_testing()

set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${casmi_BINARY_DIR}/bin )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${casmi_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${casmi_BINARY_DIR}/lib )

# when -pendantic is used, -Wvariadic-macros cannot be disabled in gcc
set( CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -O3 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE" )

set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DCASMI_DEBUG")
set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_DEBUG} -pg")

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  # using Clang
{'fraction_non_alphanumeric': 0.11156022635408246, 'fraction_numerical': 0.012934518997574777, 'mean_word_length': 7.308724832214765, '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': '1248391', 'n_tokens_mistral': 529, 'n_tokens_neox': 496, 'n_words': 92}