<commit_before>cmake_minimum_required(VERSION 2.8)

project(MM CXX)

include(CPackConfig.cmake)

find_package(PkgConfig REQUIRED)

pkg_check_modules(YAMLCPP yaml-cpp)

add_definitions(-Wall -g -O2)

if (WIN32)
  add_definitions(-std=c++0x)
else (WIN32)
  add_definitions(-std=c++11)
endif (WIN32)

include_directories("${CMAKE_SOURCE_DIR}/include")

add_subdirectory(lib)
add_subdirectory(bin)

install(
  DIRECTORY "${CMAKE_SOURCE_DIR}/include/mm"
  DESTINATION include
)<commit_msg>generate the .pc file<commit_after>cmake_minimum_required(VERSION 2.8)

project(MM CXX)

include(CPackConfig.cmake)

find_package(PkgConfig REQUIRED)

pkg_check_modules(YAMLCPP yaml-cpp)

add_definitions(-Wall -g -O2)

if (WIN32)
  add_definitions(-std=c++0x)
else (WIN32)
  add_definitions(-std=c++11)
endif (WIN32)

include_directories("${CMAKE_SOURCE_DIR}/include")

add_subdirectory(lib)
add_subdirectory(bin)

configure_file("${CMAKE_SOURCE_DIR}/libmm0.pc.in" "${CMAKE_BINARY_DIR}/libmm0.pc" @ONLY)
install(
  FILES "${CMAKE_BINARY_DIR}/libmm0.pc"
  DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig"
)


install(
  DIRECTORY "${CMAKE_SOURCE_DIR}/include/mm"
  DESTINATION include
)
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.02278481012658228, 'mean_word_length': 7.411347517730497, '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': '6568380', 'n_tokens_mistral': 504, 'n_tokens_neox': 473, 'n_words': 67}