<commit_before>cmake_minimum_required(VERSION 2.6)

project(json_spirit)

option(BUILD_LIB  "Build json-spirit library" OFF)
option(BUILD_DEMO "Build json-spirit demo"    OFF)
option(BUILD_TEST "Build json-spirit test"    OFF)

include_directories(json_spirit)

if(BUILD_LIB)
    add_subdirectory(json_spirit)
endif()

if(BUILD_TEST)
    add_subdirectory(json_test)
endif()

if(BUILD_DEMO)
    add_subdirectory(json_demo)
    add_subdirectory(json_headers_only_demo)
    add_subdirectory(json_map_demo)
endif()

install(
  FILES
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_error_position.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_reader.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_reader_template.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_stream_reader.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_utils.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_value.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer_template.h
  DESTINATION include/json_spirit)
<commit_msg>Fixed CMakeLists : missing install of json_spirit_writer_options.h file<commit_after>cmake_minimum_required(VERSION 2.6)

project(json_spirit)

option(BUILD_LIB  "Build json-spirit library" OFF)
option(BUILD_DEMO "Build json-spirit demo"    OFF)
option(BUILD_TEST "Build json-spirit test"    OFF)

include_directories(json_spirit)

if(BUILD_LIB)
    add_subdirectory(json_spirit)
endif()

if(BUILD_TEST)
    add_subdirectory(json_test)
endif()

if(BUILD_DEMO)
    add_subdirectory(json_demo)
    add_subdirectory(json_headers_only_demo)
    add_subdirectory(json_map_demo)
endif()

install(
  FILES
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_error_position.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_reader.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_reader_template.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_stream_reader.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_utils.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_value.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer_template.h
  ${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer_options.h
  DESTINATION include/json_spirit)

{'fraction_non_alphanumeric': 0.09346603202077022, 'fraction_numerical': 0.0017308524448290783, 'mean_word_length': 7.346570397111913, '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': '6835498', 'n_tokens_mistral': 918, 'n_tokens_neox': 838, 'n_words': 93}