<commit_before>cmake_minimum_required(VERSION 2.8.11)

project(Zopfli)

#
# Library version
#
set(ZOPFLI_VERSION_MAJOR 1)
set(ZOPFLI_VERSION_MINOR 0)
set(ZOPFLI_VERSION_PATCH 2)
set(ZOPFLI_VERSION "${ZOPFLI_VERSION_MAJOR}.${ZOPFLI_VERSION_MINOR}.${ZOPFLI_VERSION_PATCH}")

option(BUILD_SHARED_LIBS "Build Zopfli with shared libraries" OFF)
option(ZOPFLI_BUILD_INSTALL "Add Zopfli install target" ON)

if(NOT CMAKE_BUILD_TYPE)
  set(CMAKE_BUILD_TYPE Release)
endif()

if(MSVC)
  add_definitions(/D_CRT_SECURE_NO_WARNINGS)
endif()

set(zopflilib_src
  src/zopfli/blocksplitter.c
  src/zopfli/cache.c
  src/zopfli/deflate.c<commit_msg>Do not force Release build<commit_after>cmake_minimum_required(VERSION 2.8.11)

project(Zopfli)

#
# Library version
#
set(ZOPFLI_VERSION_MAJOR 1)
set(ZOPFLI_VERSION_MINOR 0)
set(ZOPFLI_VERSION_PATCH 2)
set(ZOPFLI_VERSION "${ZOPFLI_VERSION_MAJOR}.${ZOPFLI_VERSION_MINOR}.${ZOPFLI_VERSION_PATCH}")

option(BUILD_SHARED_LIBS "Build Zopfli with shared libraries" OFF)
option(ZOPFLI_BUILD_INSTALL "Add Zopfli install target" ON)

if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
  if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
    message(STATUS "Zopfli build type is default (CMAKE_BUILD_TYPE empty)")
  endif()
endif()

if(MSVC)
  add_definitions(/D_CRT_SECURE_NO_WARNINGS)
endif()

set(zopflilib_src
  src/zopfli/blocksplitter.c
  src/zopfli/cache.c
  src/zopfli/deflate.c
{'fraction_non_alphanumeric': 0.096045197740113, 'fraction_numerical': 0.009887005649717515, 'mean_word_length': 7.640243902439025, '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': '3164336', 'n_tokens_mistral': 632, 'n_tokens_neox': 597, 'n_words': 92}