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

set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")

set(LIB_SUFFIX "")
if (WIN32)
  if(CMAKE_GENERATOR MATCHES "Win64")
    if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
      set(LIB_SUFFIX "_win64")
    else()
      set(LIB_SUFFIX "_win64d")
    endif()
  else()
    if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
      set(LIB_SUFFIX "_win32")
    else()
      set(LIB_SUFFIX "_win32d")
    endif()
  endif()
else(WIN32)
  if (CMAKE_BUILD_TYPE STREQUAL "Debug")
    add_definitions(-Wall -g -ggdb -O0 )
    set(LIB_SUFFIX "_d")
  else()
    add_definitions(-Wall -O2 -DNDEBUG )
    set(LIB_SUFFIX "")
  endif()
endif(WIN32)

SET(LOG4Z_LIB_OUT_PATH ${log4z_SOURCE_DIR}/lib)
SET(LOG4Z_BIN_OUT_PATH ${log4z_SOURCE_DIR}/test/bin)

add_subdirectory(g++)
add_subdirectory(test)
<commit_msg>adapted CMakeLists.txt for reusing code with biicode; added configuration file (biicode.conf)<commit_after>IF(BIICODE)
  INIT_BIICODE_BLOCK()
  ADD_BIICODE_TARGETS()
  IF(NOT WIN32)
    if (CMAKE_BUILD_TYPE STREQUAL "Debug")
      target_compile_options(${BII_BLOCK_TARGET} INTERFACE -Wall -g -ggdb -O0 )
    else()
      target_compile_options(${BII_BLOCK_TARGET} INTERFACE -Wall -O2 -DNDEBUG )
    endif()
  ENDIF()
  if(WIN32)
      TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE shlwapi)
  else()
      TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE pthread)
  endif()
ELSE()
cmake_minimum_required(VERSION 2.6)
project(log4z)

set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")

set(LIB_SUFFIX "")
if (WIN32)
  if(CMAKE_GENERATOR MATCHES "Win64")
    if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
      set(LIB_SUFFIX "_win64")
    else()
      set(LIB_SUFFIX "_win64d")
    endif()
  else()
    if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
      set(LIB_SUFFIX "_win32")
    else()
      set(LIB_SUFFIX "_win32d")
    endif()
  endif()
else(WIN32)
  if (CMAKE_BUILD_TYPE STREQUAL "Debug")
    add_definitions(-Wall -g -ggdb -O0 )
    set(LIB_SUFFIX "_d")
  else()
    add_definitions(-Wall -O2 -DNDEBUG )
    set(LIB_SUFFIX "")
  endif()
endif(WIN32)

SET(LOG4Z_LIB_OUT_PATH ${log4z_SOURCE_DIR}/lib)
SET(LOG4Z_BIN_OUT_PATH ${log4z_SOURCE_DIR}/test/bin)

add_subdirectory(g++)
add_subdirectory(test)
ENDIF(BIICODE)
{'fraction_non_alphanumeric': 0.1238390092879257, 'fraction_numerical': 0.02476780185758514, 'mean_word_length': 4.398568019093079, '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': '4904045', 'n_tokens_mistral': 982, 'n_tokens_neox': 909, 'n_words': 166}